DsmlInvalidDocumentException 构造函数
定义
DsmlInvalidDocumentException() 构造函数创建 DsmlInvalidDocumentException 类的实例。The DsmlInvalidDocumentException() constructor creates an instance of the DsmlInvalidDocumentException class.
重载
DsmlInvalidDocumentException()
DsmlInvalidDocumentException() 构造函数创建 DsmlInvalidDocumentException 类的实例。The DsmlInvalidDocumentException() constructor creates an instance of the DsmlInvalidDocumentException class.
public:
DsmlInvalidDocumentException();
public DsmlInvalidDocumentException ();
Public Sub New ()
注解
显示给客户端的默认文本消息为 "无法分析 DSML 文档"。The default text message displayed to the client is "The DSML document could not be parsed."
适用于
DsmlInvalidDocumentException(String)
DsmlInvalidDocumentException(String) 构造函数使用指定的参数创建 DsmlInvalidDocumentException 类的实例。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)
参数
- message
- String
引发异常时显示到客户端的消息。The message displayed to the client when the exception is thrown.
适用于
DsmlInvalidDocumentException(SerializationInfo, StreamingContext)
DsmlInvalidDocumentException(SerializationInfo, StreamingContext) 构造函数使用指定序列化数据和流上下文数据创建 DsmlInvalidDocumentException 类的实例。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)
参数
- info
- SerializationInfo
有关引发的异常的序列化对象数据。The serialized object data about the exception thrown.
- context
- StreamingContext
有关源或目标的上下文数据。The contextual data about the source or destination.
适用于
DsmlInvalidDocumentException(String, Exception)
DsmlInvalidDocumentException(String, Exception) 构造函数使用指定的参数创建 DsmlInvalidDocumentException 类的实例。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)
参数
- message
- String
引发异常时显示到客户端的消息。The message displayed to the client when the exception is thrown.
- inner
- Exception
引发异常的 InnerException(如果有)。The InnerException, if any, that threw the exception.