共用方式為


DeviceNotConnectedException 類別

更新:2007 年 11 月

在裝置未連接的情況中擲回。

命名空間:  Microsoft.SmartDevice.Connectivity
組件:  Microsoft.SmartDevice.Connectivity (在 Microsoft.SmartDevice.Connectivity.dll 中)

語法

<SerializableAttribute> _
Public Class DeviceNotConnectedException _
    Inherits SmartDeviceException

Dim instance As DeviceNotConnectedException
[SerializableAttribute]
public class DeviceNotConnectedException : SmartDeviceException
[SerializableAttribute]
public ref class DeviceNotConnectedException : public SmartDeviceException
public class DeviceNotConnectedException extends SmartDeviceException

繼承階層架構

System.Object
  System.Exception
    Microsoft.SmartDevice.Connectivity.SmartDeviceException
      Microsoft.SmartDevice.Connectivity.DeviceNotConnectedException

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

DeviceNotConnectedException 成員

Microsoft.SmartDevice.Connectivity 命名空間