共用方式為


SmsQueryException Class

Serves as the base class for Configuration Manager 2007 query exceptions.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As SmsQueryException

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class SmsQueryException
    Inherits SmsException
    Implements ISerializable
[SerializableAttribute] 
public abstract class SmsQueryException : SmsException, ISerializable
[SerializableAttribute] 
public ref class SmsQueryException abstract : public SmsException, ISerializable
/** @attribute SerializableAttribute() */ 
public abstract class SmsQueryException extends SmsException implements ISerializable
SerializableAttribute 
public abstract class SmsQueryException extends SmsException implements ISerializable

Remarks

SmsConnectionException is an example of class that is derived from this class.

Status values for this class are defined by the SmsQueryException.Status enumeration.

Inheritance Hierarchy

System.Object
   System.Exception
     System.SystemException
       Microsoft.ConfigurationManagement.ManagementProvider.SmsException
        Microsoft.ConfigurationManagement.ManagementProvider.SmsQueryException
           Microsoft.ConfigurationManagement.ManagementProvider.SmsConnectionException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsQueryException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
SmsConnectionException Class
SmsQueryException.Status