ChatRoomManagementServices.BeginGetCategoryUsers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds users or user groups who are eligible for the Creator role on the specified category.
public:
IAsyncResult ^ BeginGetCategoryUsers(Uri ^ categoryUri, System::String ^ filter, int resultSize, AsyncCallback ^ userCallBack, System::Object ^ state);
public IAsyncResult BeginGetCategoryUsers (Uri categoryUri, string filter, int resultSize, AsyncCallback userCallBack, object state);
member this.BeginGetCategoryUsers : Uri * string * int * AsyncCallback * obj -> IAsyncResult
Public Function BeginGetCategoryUsers (categoryUri As Uri, filter As String, resultSize As Integer, userCallBack As AsyncCallback, state As Object) As IAsyncResult
Parameters
- categoryUri
- Uri
The target category to search for users
- filter
- String
A filter to specify the first few characters of a name
- resultSize
- Int32
The size of the resulted list
- userCallBack
- AsyncCallback
The method to be invoked when this asynchronous operation completes.
- state
- Object
An object to be passed back to the callback.
Returns
An IAsyncResult that references this operation.
Exceptions
categoryUri
or filter
is null.
categoryUri
is not a valid category URI.
The PersistentChatEndpoint is not established.
The chat server connection is not in a valid state to send the command.
The PersistentChatEndpoint encountered an error communicating with the chat server.