SmartGlassDevice.CreateFromIdAsync Method

Creates a SmartGlassDevice object asynchronously from a previously saved Id.

Syntax

public:
static IAsyncOperation<SmartGlassDevice^ >^ CreateFromIdAsync(
         String^ id
)  

Parameters

id
Type: String 

 The string Id of the device.

Return value

Type: IAsyncOperation<SmartGlassDevice^ > 

Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncOperation<TResult>.Completed property. When the asynchronous operation is complete, the result of the operation can be retrieved by using the IAsyncOperation<TResult>.GetResults method.
The result of the asynchronous operation is the created SmartGlassDevice object.

Requirements

Namespace: Windows.Xbox.SmartGlass

Metadata: windows.winmd

See also

Reference

SmartGlassDevice Class

SmartGlassDevice Members

Windows.Xbox.SmartGlass Namespace