InstantMessagingMcuSession.BeginModifyInstantMessagingBlockAllMode 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.
Modifies the instant messaging block filter on InstantMessagingMcuSession.
public:
IAsyncResult ^ BeginModifyInstantMessagingBlockAllMode(Microsoft::Rtc::Collaboration::InstantMessagingBlockAllMode mode, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginModifyInstantMessagingBlockAllMode (Microsoft.Rtc.Collaboration.InstantMessagingBlockAllMode mode, AsyncCallback userCallback, object state);
member this.BeginModifyInstantMessagingBlockAllMode : Microsoft.Rtc.Collaboration.InstantMessagingBlockAllMode * AsyncCallback * obj -> IAsyncResult
Public Function BeginModifyInstantMessagingBlockAllMode (mode As InstantMessagingBlockAllMode, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
The instant messaging block filter mode to apply.
- userCallback
- AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
- Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Returns
An IAsyncResult that references the asynchronous operation.
Exceptions
Thrown when given mode
is invalid.
Thrown when the parent ConferenceSession is not in a valid state or the conference does not support the corresponding MCU type.
Thrown when the parent ConferenceSession is reconnecting (FailureReason will be set to InvalidOperationReason.RetryableOperation).