Creates a new MessageRecipientMode instance.

Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public MessageRecipientMode(
	int mode,
	Object target
)

Parameters

mode
Type: System..::..Int32
One of the costants contained in the MessageRecipientType enumerator, describing the recipient mode.
target
Type: System..::..Object
The moderator/administrator message recipient/s, according to the selected recipient mode.

Remarks

The instance must be passed as recipientMode parameter to the ModeratorMessageRequest and AdminMessageRequest classes constructors.

See Also