Partilhar via


SmsException Constructor (SerializationInfo, StreamingContext)

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

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

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New SmsException(info, context)

Syntax

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

Parameters

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

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsException Class
SmsException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace