BeginSetState Method (Int32, String, String, AsyncCallback, Object)
Sets the Refer state.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public MustOverride Function BeginSetState ( _
responseCode As Integer, _
responseText As String, _
remainingSipFragment As String, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As ReferNotifier
Dim responseCode As Integer
Dim responseText As String
Dim remainingSipFragment As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSetState(responseCode, _
responseText, remainingSipFragment, _
userCallback, state)
public abstract IAsyncResult BeginSetState(
int responseCode,
string responseText,
string remainingSipFragment,
AsyncCallback userCallback,
Object state
)
Parameters
- responseCode
Type: System..::..Int32
The specific response code.
- responseText
Type: System..::..String
The response text, which can be nullNothingnullptrunita null reference (Nothing in Visual Basic).
- remainingSipFragment
Type: System..::..String
The remaining sip fragment.
- userCallback
Type: System..::..AsyncCallback
The callback to be invoked when [SetState] is done.
- state
Type: System..::..Object
The state to be passed back to the callback.
Return Value
Type: System..::..IAsyncResult
An [IAsyncResult] that references this operation.
Remarks
This results in sending Notification to the referrer.