Freigeben über


SmsQueryException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of SmsQueryException for the specified serialization information and streaming context.

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

Usage

'Usage
Dim information As SerializationInfo
Dim context As StreamingContext

Dim instance As New SmsQueryException(information, context)

Syntax

'Declaration
Protected Sub New ( _
    information As SerializationInfo, _
    context As StreamingContext _
)
protected SmsQueryException (
    SerializationInfo information,
    StreamingContext context
)
protected:
SmsQueryException (
    SerializationInfo^ information, 
    StreamingContext context
)
protected SmsQueryException (
    SerializationInfo information, 
    StreamingContext context
)
protected function SmsQueryException (
    information : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • information
    [in] System.Runtime.Serialization.SerializationInfo object.
  • context
    [in] System.Runtime.Serialization.StreamingContext structure value.

Exceptions

Exception type Condition
ArgumentNullException

The information parameter cannot be null.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsQueryException Class
SmsQueryException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace