Editare

Partajați prin


DsmlInvalidDocumentException Constructors

Definition

The DsmlInvalidDocumentException() constructor creates an instance of the DsmlInvalidDocumentException class.

Overloads

DsmlInvalidDocumentException()

The DsmlInvalidDocumentException() constructor creates an instance of the DsmlInvalidDocumentException class.

DsmlInvalidDocumentException(String)

The DsmlInvalidDocumentException(String) constructor creates an instance of the DsmlInvalidDocumentException class using the specified parameter.

DsmlInvalidDocumentException(SerializationInfo, StreamingContext)

The DsmlInvalidDocumentException(SerializationInfo, StreamingContext) constructor creates an instance of the DsmlInvalidDocumentException class using the specified serialization data and streaming contextual data.

DsmlInvalidDocumentException(String, Exception)

The DsmlInvalidDocumentException(String, Exception) constructor creates an instance of the DsmlInvalidDocumentException class using the specified parameters.

DsmlInvalidDocumentException()

The DsmlInvalidDocumentException() constructor creates an instance of the DsmlInvalidDocumentException class.

public:
 DsmlInvalidDocumentException();
public DsmlInvalidDocumentException ();
Public Sub New ()

Remarks

The default text message displayed to the client is "The DSML document could not be parsed."

Applies to

DsmlInvalidDocumentException(String)

The DsmlInvalidDocumentException(String) constructor creates an instance of the DsmlInvalidDocumentException class using the specified parameter.

public:
 DsmlInvalidDocumentException(System::String ^ message);
public DsmlInvalidDocumentException (string message);
new System.DirectoryServices.Protocols.DsmlInvalidDocumentException : string -> System.DirectoryServices.Protocols.DsmlInvalidDocumentException
Public Sub New (message As String)

Parameters

message
String

The message displayed to the client when the exception is thrown.

Applies to

DsmlInvalidDocumentException(SerializationInfo, StreamingContext)

The DsmlInvalidDocumentException(SerializationInfo, StreamingContext) constructor creates an instance of the DsmlInvalidDocumentException class using the specified serialization data and streaming contextual data.

protected:
 DsmlInvalidDocumentException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DsmlInvalidDocumentException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.Protocols.DsmlInvalidDocumentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.DsmlInvalidDocumentException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialized object data about the exception thrown.

context
StreamingContext

The contextual data about the source or destination.

Applies to

DsmlInvalidDocumentException(String, Exception)

The DsmlInvalidDocumentException(String, Exception) constructor creates an instance of the DsmlInvalidDocumentException class using the specified parameters.

public:
 DsmlInvalidDocumentException(System::String ^ message, Exception ^ inner);
public DsmlInvalidDocumentException (string message, Exception inner);
new System.DirectoryServices.Protocols.DsmlInvalidDocumentException : string * Exception -> System.DirectoryServices.Protocols.DsmlInvalidDocumentException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The message displayed to the client when the exception is thrown.

inner
Exception

The InnerException, if any, that threw the exception.

Applies to