Share via


LineDisplay.GetDefaultAsync Method

Definition

Returns the first available line display.

public:
 static IAsyncOperation<LineDisplay ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LineDisplay> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LineDisplay> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of LineDisplay)

Returns

The first available line display. Returns a null object in the following cases:

  • A 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.
Attributes

Applies to