[TIBCO.EMS .NET client library 6.3 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Sets a boolean property value with the specified name into the message
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public void SetBooleanProperty( string name, bool val ) |
Public Sub SetBooleanProperty ( _ name As String, _ val As Boolean _ ) |
public: void SetBooleanProperty( String^ name, bool val ) |
Parameters
- name
- Type: System..::.String
the name of the boolean property
- val
- Type: System..::.Boolean
the boolean 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 |
---|---|
TIBCO.EMS..::.MessageNotWriteableException | An 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 |