Click or drag to resize

ReplyEventGetObjectT Method

Gets the object contained in the success message of this reply event.

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public T GetObject<T>()

Type Parameters

T
The type of the returned object.

Return Value

Type: T
The object contained in the success message of this reply event.
Exceptions
ExceptionCondition
ReplyTimeoutException The reply message has timeout.
Remarks
Warning: to reduce memory consumption, this method returns a reference to (not a copy of) the mutable object stored in the reply message. If the returned object is later modified, the reply message object will be modified.
See Also