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

Visual Basic
Dim information As SerializationInfo
Dim context As StreamingContext

Dim instance As New SmsQueryException(information, context)

Syntax

Visual Basic
Protected Sub New ( _
		information As SerializationInfo, _
		context As StreamingContext _
)
C#
protected SmsQueryException (
		SerializationInfo information,
		StreamingContext context
)
C++
protected:
SmsQueryException (
		SerializationInfo^ information, 
		StreamingContext context
)
J#
protected SmsQueryException (
		SerializationInfo information, 
		StreamingContext context
)
JScript
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