Queries the latest provisioning data (advanced).

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

Syntax

Visual Basic (Declaration)
Public 
Function 
BeginGetProvisioningData ( _
	
userCallback 
As 
AsyncCallback, _
	
state 
As 
Object _
) 
As 
IAsyncResult
C#
public 
IAsyncResult 
BeginGetProvisioningData(
	
AsyncCallback 
userCallback,
	
Object 
state
)
Visual C++
public:
IAsyncResult^ 
BeginGetProvisioningData(
	
AsyncCallback^ 
userCallback, 
	
Object^ 
state
)
JavaScript
function 
beginGetProvisioningData(
userCallback, 
state);

Parameters

userCallback
Type: AsyncCallback
The method to be called when the asynchronous operation is completed.
state
Type: Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

Normally, an application can retrieve the cached ProvisioningData value from the endpoint. The cache is renewed periodically if in-band provisioning data auto-refresh has not been disabled. 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.

Exceptions

Exception Condition
InvalidOperationException Thrown when the object is not in correct state to refresh provisioning data.

See Also