DevicePortalConnectionClosedReason DevicePortalConnectionClosedReason DevicePortalConnectionClosedReason DevicePortalConnectionClosedReason DevicePortalConnectionClosedReason Enum

Definition

Contains values that explain why a device portal connection was closed.

public : enum class DevicePortalConnectionClosedReason
enum class winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason : int32_t
public enum DevicePortalConnectionClosedReason
Public Enum DevicePortalConnectionClosedReason
var value = Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason.notAuthorized;
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Fields

NotAuthorized NotAuthorized NotAuthorized NotAuthorized NotAuthorized 3

The app is missing the appropriate capability to use a device portal.

ProtocolError ProtocolError ProtocolError ProtocolError ProtocolError 2

The connection closed because of an unrecognized app service message.

ResourceLimitsExceeded ResourceLimitsExceeded ResourceLimitsExceeded ResourceLimitsExceeded ResourceLimitsExceeded 1

Windows Devices Portal closed the connection because the resource limit was exceeded.

ServiceTerminated ServiceTerminated ServiceTerminated ServiceTerminated ServiceTerminated 5

Windows Device Portal has shut down.

Unknown Unknown Unknown Unknown Unknown 0

The connection closed for an unknown reason.

UserNotPresent UserNotPresent UserNotPresent UserNotPresent UserNotPresent 4

The WTS active console user was missing.