Click or drag to resize

FindRoomsRequest Constructor (MatchExpression, String, Int32)

Creates a new FindRoomsRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public FindRoomsRequest(
	MatchExpression expr,
	string groupId,
	int limit
)

Parameters

expr
Type: Sfs2X.Entities.MatchMatchExpression
A matching expression that the system will use to retrieve the Rooms.
groupId
Type: SystemString
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: SystemInt32
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