ForestTrustCollisionException 构造函数

定义

初始化 ForestTrustCollisionException 类的新实例。

重载

ForestTrustCollisionException()

初始化 ForestTrustCollisionException 类的新实例。

ForestTrustCollisionException(String)

用指定的错误消息初始化 ForestTrustCollisionException 类的新实例。

ForestTrustCollisionException(SerializationInfo, StreamingContext)
已过时.

使用指定的序列化信息和流上下文初始化 ForestTrustCollisionException 类的新实例。

ForestTrustCollisionException(String, Exception)

用指定的错误消息和基础异常对象初始化 ForestTrustCollisionException 类的新实例。

ForestTrustCollisionException(String, Exception, ForestTrustRelationshipCollisionCollection)

用指定的错误信息、基础异常对象和指定的 ForestTrustCollisionException 对象初始化 ForestTrustRelationshipCollisionCollection 类的新实例。

ForestTrustCollisionException()

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs

初始化 ForestTrustCollisionException 类的新实例。

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

适用于

ForestTrustCollisionException(String)

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs

用指定的错误消息初始化 ForestTrustCollisionException 类的新实例。

public:
 ForestTrustCollisionException(System::String ^ message);
public ForestTrustCollisionException (string message);
public ForestTrustCollisionException (string? message);
new System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException : string -> System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException
Public Sub New (message As String)

参数

message
String

描述错误的消息。

适用于

ForestTrustCollisionException(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.

使用指定的序列化信息和流上下文初始化 ForestTrustCollisionException 类的新实例。

protected:
 ForestTrustCollisionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ForestTrustCollisionException (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 ForestTrustCollisionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException
[<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.ForestTrustCollisionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

异常的 SerializationInfo 对象。

context
StreamingContext

异常的 StreamingContext

属性

另请参阅

适用于

ForestTrustCollisionException(String, Exception)

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs

用指定的错误消息和基础异常对象初始化 ForestTrustCollisionException 类的新实例。

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

参数

message
String

描述错误的消息。

inner
Exception

一个包含基础异常信息的 Exception 对象。

适用于

ForestTrustCollisionException(String, Exception, ForestTrustRelationshipCollisionCollection)

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs

用指定的错误信息、基础异常对象和指定的 ForestTrustCollisionException 对象初始化 ForestTrustRelationshipCollisionCollection 类的新实例。

public:
 ForestTrustCollisionException(System::String ^ message, Exception ^ inner, System::DirectoryServices::ActiveDirectory::ForestTrustRelationshipCollisionCollection ^ collisions);
public ForestTrustCollisionException (string message, Exception inner, System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipCollisionCollection collisions);
public ForestTrustCollisionException (string? message, Exception? inner, System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipCollisionCollection? collisions);
new System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException : string * Exception * System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipCollisionCollection -> System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException
Public Sub New (message As String, inner As Exception, collisions As ForestTrustRelationshipCollisionCollection)

参数

message
String

描述错误的消息。

inner
Exception

一个包含基础异常信息的 Exception 对象。

collisions
ForestTrustRelationshipCollisionCollection

一个 ForestTrustRelationshipCollisionCollection 对象,它包含一个或多个描述信任关系冲突错误的 ForestTrustRelationshipCollision 对象。

另请参阅

适用于