ActiveDirectoryOperationException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ActiveDirectoryOperationException 类的新实例。
重载
ActiveDirectoryOperationException() |
初始化 ActiveDirectoryOperationException 类的新实例。 |
ActiveDirectoryOperationException(String) |
用指定的错误消息初始化 ActiveDirectoryOperationException 类的新实例。 |
ActiveDirectoryOperationException(SerializationInfo, StreamingContext) |
已过时.
使用指定的序列化信息和流上下文初始化 ActiveDirectoryOperationException 类的新实例。 |
ActiveDirectoryOperationException(String, Exception) |
用指定的错误消息和基础异常对象初始化 ActiveDirectoryOperationException 类的新实例。 |
ActiveDirectoryOperationException(String, Int32) |
用指定的错误信息和错误代码初始化 ActiveDirectoryOperationException 类的新实例。 |
ActiveDirectoryOperationException(String, Exception, Int32) |
用指定的错误信息、基础异常对象和指定的错误代码初始化 ActiveDirectoryOperationException 类的新实例。 |
ActiveDirectoryOperationException()
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
初始化 ActiveDirectoryOperationException 类的新实例。
public:
ActiveDirectoryOperationException();
public ActiveDirectoryOperationException ();
Public Sub New ()
另请参阅
适用于
ActiveDirectoryOperationException(String)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
用指定的错误消息初始化 ActiveDirectoryOperationException 类的新实例。
public:
ActiveDirectoryOperationException(System::String ^ message);
public ActiveDirectoryOperationException (string message);
public ActiveDirectoryOperationException (string? message);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String)
参数
- message
- String
描述错误的消息。
另请参阅
适用于
ActiveDirectoryOperationException(SerializationInfo, StreamingContext)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
注意
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
使用指定的序列化信息和流上下文初始化 ActiveDirectoryOperationException 类的新实例。
protected:
ActiveDirectoryOperationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActiveDirectoryOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ActiveDirectoryOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
异常的 SerializationInfo 对象。
- context
- StreamingContext
异常的 StreamingContext 对象。
- 属性
另请参阅
适用于
ActiveDirectoryOperationException(String, Exception)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
用指定的错误消息和基础异常对象初始化 ActiveDirectoryOperationException 类的新实例。
public:
ActiveDirectoryOperationException(System::String ^ message, Exception ^ inner);
public ActiveDirectoryOperationException (string message, Exception inner);
public ActiveDirectoryOperationException (string? message, Exception? inner);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string * Exception -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String, inner As Exception)
参数
- message
- String
描述错误的消息。
另请参阅
适用于
ActiveDirectoryOperationException(String, Int32)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
用指定的错误信息和错误代码初始化 ActiveDirectoryOperationException 类的新实例。
public:
ActiveDirectoryOperationException(System::String ^ message, int errorCode);
public ActiveDirectoryOperationException (string message, int errorCode);
public ActiveDirectoryOperationException (string? message, int errorCode);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string * int -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String, errorCode As Integer)
参数
- message
- String
描述错误的消息。
- errorCode
- Int32
标识错误的错误代码。
另请参阅
适用于
ActiveDirectoryOperationException(String, Exception, Int32)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
用指定的错误信息、基础异常对象和指定的错误代码初始化 ActiveDirectoryOperationException 类的新实例。
public:
ActiveDirectoryOperationException(System::String ^ message, Exception ^ inner, int errorCode);
public ActiveDirectoryOperationException (string message, Exception inner, int errorCode);
public ActiveDirectoryOperationException (string? message, Exception? inner, int errorCode);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string * Exception * int -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String, inner As Exception, errorCode As Integer)
参数
- message
- String
描述错误的消息。
- errorCode
- Int32
标识错误的错误代码。