ConferenceServices.BeginCancelConference Method (String, AsyncCallback, Object)
Deletes a conference scheduled by the endpoint owner.
Namespace: Microsoft.Rtc.Collaboration.ConferenceManagement
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginCancelConference ( _
conferenceId As String, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As ConferenceServices
Dim conferenceId As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginCancelConference(conferenceId, _
userCallback, state)
public IAsyncResult BeginCancelConference(
string conferenceId,
AsyncCallback userCallback,
Object state
)
Parameters
- conferenceId
Type: System.String
The ID of the conference to delete.
- userCallback
Type: System.AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Return Value
Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the method failed to issue the request. |
ArgumentException | Thrown when the conference ID is not specified or invalid. |
Remarks
This operation is allowed by the server for existing conferences scheduled by the endpoint owner only.
This operation will only delete conferences that were scheduled with settings coming from the organizer.OrganizerSupplied.