Creates a new FindRoomsRequest instance.

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

Syntax

C#
public FindRoomsRequest(
	MatchExpression expr,
	string groupId,
	int limit
)

Parameters

expr
Type: Sfs2X.Entities.Match..::..MatchExpression
A matching expression that the system will use to retrieve the Rooms.
groupId
Type: System..::..String
The name of the Group where to search for matching Rooms; if null, the search is performed in the whole Zone (default = null).
limit
Type: System..::..Int32
The maximum size of the list of Rooms that will be returned by the roomFindResult event. If 0, all the found Rooms are returned (default = 0).

Remarks

The instance must be passed to the SmartFox.Send method for the request to be performed.

See Also