Collapse All Expand All

.NET Framework Class Library
Message Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Sets a long property value with the specified name into the message

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

# Syntax

    public void SetLongProperty(
    	string name,
    	long value
    )

    Public Sub SetLongProperty ( _
    	name As String, _
    	value As Long _
    )

    public:
    void SetLongProperty(
    	String^ name,
    	long long value
    )

#### Parameters

name
  Type: System..::.String
  the name of the long property

value
  Type: System..::.Int64
  the long property value to set

# Remarks

Property names must obey the JMS rules for a message selector identifier. Property names must not be null, and must not be empty strings.

# Exceptions

Exception | Condition
--- | ---
MessageNotWriteableException | An TIBCO.EMS.MessageNotWriteableException may be thrown if properties are read-only
System..::.ArgumentException | An ArgumentException may be thrown if the name is null or if the name is an empty string

# See Also

Message Class
TIBCO.EMS.UFO Namespace