Share via


MetadirectoryServicesException Constructor (SerializationInfo, StreamingContext)

Creates an instance of the MetadirectoryServicesException class serialization.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New MetadirectoryServicesException(info, context)

Syntax

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

Parameters

  • info
    The SerializationInfo object.
  • context
    The streaming context.

Platforms

Target Platforms

See Also

Reference

MetadirectoryServicesException Class
MetadirectoryServicesException Members
Microsoft.MetadirectoryServices Namespace
MetadirectoryServicesException Class