Creates a transaction async result to refresh an existing
subscription and puts the work item in the queue.
Namespace:
Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Function BeginRefresh ( _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
|
|
public IAsyncResult BeginRefresh (
AsyncCallback userCallback,
Object state
)
|
Parameters
- userCallback
-
The callback to be invoked when the Refresh operation is
complete.
- state
-
The state to be passed back to the callback.
Return Value
An
IAsyncResult state object representing the
operation.
Exceptions
Exception type |
Condition |
InvalidOperationException
|
Thrown when the current subscription signaling state is
not Subscribed.
|
Remarks
Thread Safety
All public static (Shared in Visual
Basic) members of this type are thread-safe. Instance members are
not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server
2003, Windows Vista Ultimate Edition, Windows Vista Business
Edition, Windows Vista Enterprise Edition
Target Platforms
See Also