Compartilhar via


SmsException Class

Serves as the base class for Configuration Manager 2007 exceptions.

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

Usage

'Usage
Dim instance As SmsException

Syntax

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

Inheritance Hierarchy

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

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

SmsException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
SmsConnectionException Class
SmsMultipleResultException
SmsQueryException

Other Resources

About Configuration Manager Errors
How to Connect to an SMS Provider in Configuration Manager by Using Managed Code