ConferenceSession.BeginModifyRole 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
BeginModifyRole(ConversationParticipant, ConferencingRole, ModifyRoleOptions, AsyncCallback, Object) |
Modifies the role of a participant in the conference. |
BeginModifyRole(ConversationParticipant, ConferencingRole, AsyncCallback, Object) |
Modifies the role of a participant in the conference. |
BeginModifyRole(ConversationParticipant, ConferencingRole, ModifyRoleOptions, AsyncCallback, Object)
Modifies the role of a participant in the conference.
public:
IAsyncResult ^ BeginModifyRole(Microsoft::Rtc::Collaboration::ConversationParticipant ^ participant, Microsoft::Rtc::Collaboration::ConferencingRole role, Microsoft::Rtc::Collaboration::ModifyRoleOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginModifyRole (Microsoft.Rtc.Collaboration.ConversationParticipant participant, Microsoft.Rtc.Collaboration.ConferencingRole role, Microsoft.Rtc.Collaboration.ModifyRoleOptions options, AsyncCallback userCallback, object state);
member this.BeginModifyRole : Microsoft.Rtc.Collaboration.ConversationParticipant * Microsoft.Rtc.Collaboration.ConferencingRole * Microsoft.Rtc.Collaboration.ModifyRoleOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginModifyRole (participant As ConversationParticipant, role As ConferencingRole, options As ModifyRoleOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- participant
- ConversationParticipant
The participant for which the role should be changed.
- role
- ConferencingRole
The desired role for the participant.
- options
- ModifyRoleOptions
Options to customize the operation. Could be null.
- 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 the operation is not valid at the given conference session state.
Thrown when the participant argument was null.
Remarks
This operation is allowed by the server for conference leaders only.
Applies to
BeginModifyRole(ConversationParticipant, ConferencingRole, AsyncCallback, Object)
Modifies the role of a participant in the conference.
public:
IAsyncResult ^ BeginModifyRole(Microsoft::Rtc::Collaboration::ConversationParticipant ^ participant, Microsoft::Rtc::Collaboration::ConferencingRole role, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginModifyRole (Microsoft.Rtc.Collaboration.ConversationParticipant participant, Microsoft.Rtc.Collaboration.ConferencingRole role, AsyncCallback userCallback, object state);
member this.BeginModifyRole : Microsoft.Rtc.Collaboration.ConversationParticipant * Microsoft.Rtc.Collaboration.ConferencingRole * AsyncCallback * obj -> IAsyncResult
Public Function BeginModifyRole (participant As ConversationParticipant, role As ConferencingRole, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- participant
- ConversationParticipant
The participant for which the role should be changed.
- role
- ConferencingRole
The desired role for the participant.
- 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 the operation is not valid at the given conference session state.
Thrown when the participant argument was null.
Remarks
This operation is allowed by the server for conference leaders only.