InstantMessagingCall.InstantMessagingFlowConfigurationRequested Event
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.
Raised when InstantMessagingFlow is created. Applications can use this event handler to register for flow related event handlers and optionally set flow configuration.
public:
event EventHandler<Microsoft::Rtc::Collaboration::InstantMessagingFlowConfigurationRequestedEventArgs ^> ^ InstantMessagingFlowConfigurationRequested;
public event EventHandler<Microsoft.Rtc.Collaboration.InstantMessagingFlowConfigurationRequestedEventArgs> InstantMessagingFlowConfigurationRequested;
member this.InstantMessagingFlowConfigurationRequested : EventHandler<Microsoft.Rtc.Collaboration.InstantMessagingFlowConfigurationRequestedEventArgs>
Public Custom Event InstantMessagingFlowConfigurationRequested As EventHandler(Of InstantMessagingFlowConfigurationRequestedEventArgs)
Event Type
Examples
The following examples shows how to register events in the flow configuration requested handler.
C# FlowConfigurationRequested on InstantMessagingCall
_imCall1.InstantMessagingFlowConfigurationRequested +=
this.FlowConfigurationRequested;
private void FlowConfigurationRequested(
object sender,
InstantMessagingFlowConfigurationRequestedEventArgs e)
{
// Register to receive messages.
e.Flow.MessageReceived += this.MessageReceived;
// Register to receive composing state changes.
e.Flow.RemoteComposingStateChanged += this.ComposingStateChanged;
// Register to receive delivery notifications
e.Flow.DeliveryNotificationReceived += this.DeliveryNotificationReceived;
}
Remarks
It is recommended that the application register an event handler for this event to apply specific configuration settings on the flow object. Applications which wish to configure the flow for the initial SDP negotiation must do so in the event handler