Compartilhar via


SmsConnectionException Constructor (SerializationInfo, StreamingContext)

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

'Usage
Dim information As SerializationInfo
Dim context As StreamingContext

Dim instance As New SmsConnectionException(information, context)

Syntax

'Declaration
Protected Sub New ( _
    information As SerializationInfo, _
    context As StreamingContext _
)
protected SmsConnectionException (
    SerializationInfo information,
    StreamingContext context
)
protected:
SmsConnectionException (
    SerializationInfo^ information, 
    StreamingContext context
)
protected SmsConnectionException (
    SerializationInfo information, 
    StreamingContext context
)
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

Reference

SmsConnectionException Class
SmsConnectionException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace