Export (0) Print
Expand All

ChatRoomSession Methods

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The ChatRoomSession type exposes the following members.

  NameDescription
Public methodBeginDownloadFileDownloads a file from the chat room.
Public methodBeginGetHiddenParticipantListGet the current list of participants for a "Large" chat room.
Public methodBeginGetRecentChatHistoryReturns the requested number of recent chat messages for this chat room, up to the server limit.
Public methodBeginJoin(String, AsyncCallback, Object)Join the chat room with the given name. To join a chat room, a user must be an authorized member. Only one active ChatRoomSession may exist for any given chat room per endpoint.
Public methodBeginJoin(Uri, AsyncCallback, Object)Join the chat room indicated by the given URI. To join a chat room, a user must be an authorized member. Only one active ChatRoomSession may exist for any given chat room per endpoint.
Public methodBeginJoin(ChatRoomSummary, AsyncCallback, Object)Join the chat room indicated by the given ChatRoomSession. To join a chat room, a user must be an authorized member. Only one active ChatRoomSession may exist for any given chat room per endpoint.
Public methodBeginLeaveLeave the chat room. This method ends a user's current session which was initiated by a Join operation.
Public methodBeginQueryChatHistory(ChatHistoryQueryOptions, AsyncCallback, Object)Query the history of chat on this chat room.
Public methodBeginQueryChatHistory(String, Boolean, Boolean, AsyncCallback, Object)Query the history of chat on this chat room.
Public methodBeginSendChatMessage(String, AsyncCallback, Object)Send a chat message to the chat room. Users must first successfully join a chat room to initiate the session before a message can be sent.
Public methodBeginSendChatMessage(FormattedOutboundChatMessage, AsyncCallback, Object)Sends a formatted chat message to a chat room. A formatted message can be composed of hyperlinks, emoticons, and other parts.
Public methodBeginSendChatMessage(String, Boolean, AsyncCallback, Object)Send a high priority message to the chat room. An alert message will be displayed within the group chat client using a different color (usually red) for emphasis. It will also, depending up on the users preferences, be announce by a bell, chime, or other sound effect. Users must first successfully join a chat room to initiate the session before a message can be sent.
Public methodBeginSendChatMessage(String, String, Boolean, AsyncCallback, Object)Send a story message to the chat room. Story messages are generally used for sending long-format chat messages. They are displayed in the group chat client as a one-line message, on which the title of the story appears as a clickable link. When selected, the entire content of the message is displayed in a dialog box. Users must first successfully join a chat room to initiate the session before a message can be sent.
Public methodBeginUploadFileUploads a file to the chat room.
Public methodEndDownloadFileCompletes the asynchronous request initiated by BeginDownloadFile(ChatRoomFileDownloadJob, AsyncCallback, Object).
Public methodEndGetHiddenParticipantListCompletes the asynchronous request initiated by BeginGetHiddenParticipantList(AsyncCallback, Object).
Public methodEndGetRecentChatHistoryCompletes the asynchronous request initiated by BeginGetRecentChatHistory(Int32, AsyncCallback, Object).
Public methodEndJoinCompletes the asynchronous request initiated by BeginJoin(ChatRoomSummary, AsyncCallback, Object), BeginJoin(String, AsyncCallback, Object), or BeginJoin(Uri, AsyncCallback, Object).
Public methodEndLeaveCompletes the asynchronous request initiated by BeginLeave(AsyncCallback, Object)
Public methodEndQueryChatHistoryCompletes the asynchronous request initiated by BeginQueryChatHistory(ChatHistoryQueryOptions, AsyncCallback, Object) or BeginQueryChatHistory(String, Boolean, Boolean, AsyncCallback, Object).
Public methodEndSendChatMessageCompletes the asynchronous request initiated by BeginSendChatMessage(String, AsyncCallback, Object), BeginSendChatMessage(String, Boolean, AsyncCallback, Object), or BeginSendChatMessage(String, String, Boolean, AsyncCallback, Object).
Public methodEndUploadFileCompletes the asynchronous request initiated by BeginUploadFile(ChatRoomFileUploadJob, AsyncCallback, Object).
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Show:
© 2014 Microsoft