PersistentChatServices.BeginBrowseChatRoomsByCategoryUri 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.
Overloads
BeginBrowseChatRoomsByCategoryUri(Uri, AsyncCallback, Object) |
Browse a list of chat rooms based on a category uri. |
BeginBrowseChatRoomsByCategoryUri(Uri, Int32, AsyncCallback, Object) |
Browse a list of chat rooms based on a category uri. |
BeginBrowseChatRoomsByCategoryUri(Uri, AsyncCallback, Object)
Browse a list of chat rooms based on a category uri.
public:
IAsyncResult ^ BeginBrowseChatRoomsByCategoryUri(Uri ^ categoryUri, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginBrowseChatRoomsByCategoryUri (Uri categoryUri, AsyncCallback userCallback, object state);
member this.BeginBrowseChatRoomsByCategoryUri : Uri * AsyncCallback * obj -> IAsyncResult
Public Function BeginBrowseChatRoomsByCategoryUri (categoryUri As Uri, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- categoryUri
- Uri
The uri of the category to search the chat rooms under
- 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
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.
Remarks
This request will be processed asynchronously. See EndBrowseChatRoomsByCriteria(IAsyncResult) to complete this asynchronous operation.
Applies to
BeginBrowseChatRoomsByCategoryUri(Uri, Int32, AsyncCallback, Object)
Browse a list of chat rooms based on a category uri.
public:
IAsyncResult ^ BeginBrowseChatRoomsByCategoryUri(Uri ^ categoryUri, int maxResults, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginBrowseChatRoomsByCategoryUri (Uri categoryUri, int maxResults, AsyncCallback userCallback, object state);
member this.BeginBrowseChatRoomsByCategoryUri : Uri * int * AsyncCallback * obj -> IAsyncResult
Public Function BeginBrowseChatRoomsByCategoryUri (categoryUri As Uri, maxResults As Integer, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- categoryUri
- Uri
The uri of the category to search the chat rooms under
- maxResults
- Int32
The max number of results returned, 100 if null is given
- 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
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.
Remarks
This request will be processed asynchronously. See EndBrowseChatRoomsByCriteria(IAsyncResult) to complete this asynchronous operation.