ClaimedLineDisplay.FromIdAsync(String) ClaimedLineDisplay.FromIdAsync(String) ClaimedLineDisplay.FromIdAsync(String) ClaimedLineDisplay.FromIdAsync(String) ClaimedLineDisplay.FromIdAsync(String) Method

Definition

Creates a LineDisplay object from the DeviceInformation.Id.

public : static IAsyncOperation<ClaimedLineDisplay> FromIdAsync(Platform::String deviceId)
static IAsyncOperation<ClaimedLineDisplay> FromIdAsync(winrt::hstring deviceId) const;
public static IAsyncOperation<ClaimedLineDisplay> FromIdAsync(String deviceId)
Public Shared Function FromIdAsync(deviceId As String) As IAsyncOperation(Of ClaimedLineDisplay)
Windows.Devices.PointOfService.ClaimedLineDisplay.fromIdAsync(deviceId).done( /* Your success and error handlers */ );

Parameters

deviceId
String String String

The DeviceInformation.Id that identifies a specific line display, which can be retrieved from the DeviceId property.

Returns

The line display specified by the unique device identifier. Returns a null object in the following cases:

  • The specific device is not found.
  • Access denied to the existing device. The user can deny access to a device, which is not treated as an exception.