ActiveDirectoryObjectExistsException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ActiveDirectoryObjectExistsException class.
Overloads
ActiveDirectoryObjectExistsException() |
Initializes a new instance of the ActiveDirectoryObjectExistsException class. |
ActiveDirectoryObjectExistsException(String) |
Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message. |
ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the ActiveDirectoryObjectExistsException class, using the specified serialization information and streaming context. |
ActiveDirectoryObjectExistsException(String, Exception) |
Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message and an underlying exception object. |
ActiveDirectoryObjectExistsException()
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryObjectExistsException class.
public:
ActiveDirectoryObjectExistsException();
public ActiveDirectoryObjectExistsException ();
Public Sub New ()
See also
Applies to
ActiveDirectoryObjectExistsException(String)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message.
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)
Parameters
- message
- String
A message that describes the error.
See also
Applies to
ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)
- Source:
- Exception.cs
- Source:
- Exception.cs
- 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 ActiveDirectoryObjectExistsException class, using the specified serialization information and streaming context.
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)
Parameters
- info
- SerializationInfo
The SerializationInfo object for the exception.
- context
- StreamingContext
The StreamingContext object for the exception.
- Attributes
See also
Applies to
ActiveDirectoryObjectExistsException(String, Exception)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message and an underlying exception object.
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)
Parameters
- message
- String
A message that describes the error.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기