[TIBCO.EMS .NET client library 7.0 documentation]

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

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

Syntax

public void SetDoubleProperty(
	string name,
	double val
)
Public Sub SetDoubleProperty ( _
	name As String, _
	val As Double _
)
public:
void SetDoubleProperty(
	String^ name, 
	double val
)

Parameters

name
Type: System..::.String
the name of the double property
val
Type: System..::.Double
the double 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

ExceptionCondition
TIBCO.EMS..::.MessageNotWriteableExceptionAn MessageNotWriteableException may be thrown if properties are read-only
System..::.ArgumentExceptionAn ArgumentException may be thrown if the name is null or if the name is an empty string

See Also