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

Sets an object 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 SetObjectProperty(
	string name,
	Object value
)
Public Sub SetObjectProperty ( _
	name As String, _
	value As Object _
)
public:
void SetObjectProperty(
	String^ name, 
	Object^ value
)

Parameters

name
Type: System..::.String
the name of the object property
value
Type: System..::.Object
the object 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
MessageNotWriteableExceptionAn TIBCO.EMS.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