Rediger

Del via


ForestTrustCollisionException Constructors

Definition

Initializes a new instance of the ForestTrustCollisionException class.

Overloads

ForestTrustCollisionException()

Initializes a new instance of the ForestTrustCollisionException class.

ForestTrustCollisionException(String)

Initializes a new instance of the ForestTrustCollisionException class with a specified error message.

ForestTrustCollisionException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ForestTrustCollisionException class, using the specified serialization information and streaming context.

ForestTrustCollisionException(String, Exception)

Initializes a new instance of the ForestTrustCollisionException class with a specified error message and an underlying exception object.

ForestTrustCollisionException(String, Exception, ForestTrustRelationshipCollisionCollection)

Initializes a new instance of the ForestTrustCollisionException class with a specified error message, an underlying exception object, and a specified ForestTrustRelationshipCollisionCollection object.

ForestTrustCollisionException()

Source:
Exception.cs
Source:
Exception.cs

Initializes a new instance of the ForestTrustCollisionException class.

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

Applies to

ForestTrustCollisionException(String)

Source:
Exception.cs
Source:
Exception.cs

Initializes a new instance of the ForestTrustCollisionException class with a specified error message.

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)

Parameters

message
String

A message that describes the error.

Applies to

ForestTrustCollisionException(SerializationInfo, StreamingContext)

Source:
Exception.cs
Source:
Exception.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initializes a new instance of the ForestTrustCollisionException class, using the specified serialization information and streaming context.

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)

Parameters

info
SerializationInfo

The SerializationInfo object for the exception.

context
StreamingContext

The StreamingContext for the exception.

Attributes

See also

Applies to

ForestTrustCollisionException(String, Exception)

Source:
Exception.cs
Source:
Exception.cs

Initializes a new instance of the ForestTrustCollisionException class with a specified error message and an underlying exception object.

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)

Parameters

message
String

A message that describes the error.

inner
Exception

An Exception object that contains underlying exception information.

Applies to

ForestTrustCollisionException(String, Exception, ForestTrustRelationshipCollisionCollection)

Source:
Exception.cs
Source:
Exception.cs

Initializes a new instance of the ForestTrustCollisionException class with a specified error message, an underlying exception object, and a specified ForestTrustRelationshipCollisionCollection object.

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)

Parameters

message
String

A message that describes the error.

inner
Exception

An Exception object that contains underlying exception information.

collisions
ForestTrustRelationshipCollisionCollection

A ForestTrustRelationshipCollisionCollection object that contains one or more ForestTrustRelationshipCollision objects that describe the trust relationship collision errors.

See also

Applies to