ActiveDirectoryObjectExistsException 构造函数    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ActiveDirectoryObjectExistsException 类的新实例。
重载
| ActiveDirectoryObjectExistsException() | 
						 初始化 ActiveDirectoryObjectExistsException 类的新实例。  | 
        	
| ActiveDirectoryObjectExistsException(String) | 
						 使用指定的错误消息初始化 ActiveDirectoryObjectExistsException 类的新实例。  | 
        	
| ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext) | 
							 
		已过时.
	 
使用指定的序列化信息和流式处理上下文初始化 ActiveDirectoryObjectExistsException 类的新实例。  | 
        	
| ActiveDirectoryObjectExistsException(String, Exception) | 
						 使用指定的错误消息和基础异常对象初始化 ActiveDirectoryObjectExistsException 类的新实例。  | 
        	
ActiveDirectoryObjectExistsException()
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
初始化 ActiveDirectoryObjectExistsException 类的新实例。
public:
 ActiveDirectoryObjectExistsException();
	public ActiveDirectoryObjectExistsException ();
	Public Sub New ()
    	另请参阅
适用于
ActiveDirectoryObjectExistsException(String)
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
使用指定的错误消息初始化 ActiveDirectoryObjectExistsException 类的新实例。
public:
 ActiveDirectoryObjectExistsException(System::String ^ message);
	public ActiveDirectoryObjectExistsException (string? message);
	public ActiveDirectoryObjectExistsException (string message);
	new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
	Public Sub New (message As String)
	参数
- message
 - String
 
描述错误的消息。
另请参阅
适用于
ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)
- Source:
 - Exception.cs
 
- 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.
使用指定的序列化信息和流式处理上下文初始化 ActiveDirectoryObjectExistsException 类的新实例。
protected:
 ActiveDirectoryObjectExistsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
	protected ActiveDirectoryObjectExistsException (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 ActiveDirectoryObjectExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
	new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
	[<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.ActiveDirectoryObjectExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
	Protected Sub New (info As SerializationInfo, context As StreamingContext)
	参数
- info
 - SerializationInfo
 
异常 SerializationInfo 对象。
- context
 - StreamingContext
 
异常 StreamingContext 对象。
- 属性
 
另请参阅
适用于
ActiveDirectoryObjectExistsException(String, Exception)
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
- Source:
 - Exception.cs
 
使用指定的错误消息和基础异常对象初始化 ActiveDirectoryObjectExistsException 类的新实例。
public:
 ActiveDirectoryObjectExistsException(System::String ^ message, Exception ^ inner);
	public ActiveDirectoryObjectExistsException (string? message, Exception? inner);
	public ActiveDirectoryObjectExistsException (string message, Exception inner);
	new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : string * Exception -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
	Public Sub New (message As String, inner As Exception)
	参数
- message
 - String
 
描述错误的消息。