SignalingSession.BeginEstablish 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
| BeginEstablish(AsyncCallback, Object) |
Establish the session. |
| BeginEstablish(SignalingSessionEstablishOptions, AsyncCallback, Object) |
Establish the session with options specified. |
BeginEstablish(AsyncCallback, Object)
Establish the session.
public:
IAsyncResult ^ BeginEstablish(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginEstablish (AsyncCallback userCallback, object state);
member this.BeginEstablish : AsyncCallback * obj -> IAsyncResult
Public Function BeginEstablish (userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- 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 state of the session does not allow the operation.
Applies to
BeginEstablish(SignalingSessionEstablishOptions, AsyncCallback, Object)
Establish the session with options specified.
public:
IAsyncResult ^ BeginEstablish(Microsoft::Rtc::Signaling::SignalingSessionEstablishOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginEstablish (Microsoft.Rtc.Signaling.SignalingSessionEstablishOptions options, AsyncCallback userCallback, object state);
member this.BeginEstablish : Microsoft.Rtc.Signaling.SignalingSessionEstablishOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginEstablish (options As SignalingSessionEstablishOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- options
- SignalingSessionEstablishOptions
Optional parameters to customize the establish behavior.
- 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 state of the session does not allow the operation.
Thrown when the options parameter contains invalid or restricted signaling headers.