[TIBCO.EMS.UFOCLIENT .NET client library 7.0 documentation]
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Sets a string property value with the specified name into the message
Namespace:
TIBCO.EMS.UFOAssembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Syntax
public void SetStringProperty( string name, string value ) |
Public Sub SetStringProperty ( _ name As String, _ value As String _ ) |
public: void SetStringProperty( String^ name, String^ value ) |
Parameters
- name
- Type: System..::.String
the name of the string property
- value
- Type: System..::.String
the string 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 |