Initializes a new instance of SmsConnectionException 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 SmsConnectionException(information, context)

Syntax

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

Remarks

This constructor is used for deserializing the class.


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also