Partilhar via


LocalEndpoint.BeginGetProvisioningData Method

Queries the latest provisioning data (advanced).

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function BeginGetProvisioningData ( _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As LocalEndpoint
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginGetProvisioningData(userCallback, _
    state)
public IAsyncResult BeginGetProvisioningData(
    AsyncCallback userCallback,
    Object state
)

Parameters

  • 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 object is not in correct state to refresh provisioning data.

Remarks

Normally, an application can retrieve the cached ProvisioningData value from the endpoint using the GetProvisioningData() method. The cache is renewed periodically. The application should use this method when it believes that the cached provisioning data is stale or empty. Unlike other methods on the endpoint this method can be invoked even without establishing the endpoint.

See Also

Reference

LocalEndpoint Class

LocalEndpoint Members

Microsoft.Rtc.Collaboration Namespace