共用方式為


ForestTrustCollisionException 建構函式

定義

初始化 ForestTrustCollisionException 類別的新執行個體。

多載

ForestTrustCollisionException()

初始化 ForestTrustCollisionException 類別的新執行個體。

ForestTrustCollisionException(String)

使用指定的錯誤訊息,初始化 ForestTrustCollisionException 類別的新執行個體。

ForestTrustCollisionException(SerializationInfo, StreamingContext)
已淘汰.

使用指定的序列化資訊和資料流內容,初始化 ForestTrustCollisionException 類別的新執行個體。

ForestTrustCollisionException(String, Exception)

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ForestTrustCollisionException 類別的新執行個體。

ForestTrustCollisionException(String, Exception, ForestTrustRelationshipCollisionCollection)

使用指定的錯誤訊息、基礎例外狀況物件和指定的 ForestTrustCollisionException 物件,初始化 ForestTrustRelationshipCollisionCollection 類別的新執行個體。

ForestTrustCollisionException()

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

初始化 ForestTrustCollisionException 類別的新執行個體。

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

適用於

ForestTrustCollisionException(String)

來源:
Exception.cs
來源:
Exception.cs
來源:
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)

來源:
Exception.cs
來源:
Exception.cs
來源:
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)

來源:
Exception.cs
來源:
Exception.cs
來源:
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)

來源:
Exception.cs
來源:
Exception.cs
來源:
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 物件。

另請參閱

適用於