共用方式為


DevicePortalConnectionClosedEventArgs.Reason 屬性

定義

描述裝置入口網站連線已關閉的原因。

public:
 property DevicePortalConnectionClosedReason Reason { DevicePortalConnectionClosedReason get(); };
DevicePortalConnectionClosedReason Reason();
public DevicePortalConnectionClosedReason Reason { get; }
var devicePortalConnectionClosedReason = devicePortalConnectionClosedEventArgs.reason;
Public ReadOnly Property Reason As DevicePortalConnectionClosedReason

屬性值

描述關閉原因的 DevicePortalConnectionClosedReason 值。

適用於