ConversationContextChannel Class

Definition

Represents a channel to communicate with a custom application running on remote endpoint.

public ref class ConversationContextChannel
public class ConversationContextChannel
type ConversationContextChannel = class
Public Class ConversationContextChannel
Inheritance
ConversationContextChannel

Remarks

When the remote endpoint is Office Communicator this activates the contextual conversation window on the remote.

Constructors

ConversationContextChannel(Conversation, ParticipantEndpoint)

Create a ConversationContextChannel.

Properties

Conversation

Gets the conversation that the ConversationContextChannel is tied to.

RemoteEndpoint

Gets the remote endpoint of the ConversationContextChannel.

State

Gets the state of the ConversationContextChannel.

Methods

BeginEstablish(Guid, ConversationContextChannelEstablishOptions, AsyncCallback, Object)

Establishes the channel.

BeginSendData(ContentType, Byte[], AsyncCallback, Object)

Sends message to remote endpoint with the given content.

BeginTerminate(AsyncCallback, Object)

Terminates the channel.

EndEstablish(IAsyncResult)

This method is used to determine whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed

EndSendData(IAsyncResult)

This method is used to determine whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed

EndTerminate(IAsyncResult)

This method is used to determine whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed

Events

DataReceived

Raised when data is received from the remote endpoint.

StateChanged

Raised when the state of the ConversationContextChannel changes.

Applies to