DirectoryServicesCOMException Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse.
Overloads
| Name | Description |
|---|---|
| DirectoryServicesCOMException() |
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse. |
| DirectoryServicesCOMException(String) |
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse met de opgegeven tekenreeks. |
| DirectoryServicesCOMException(SerializationInfo, StreamingContext) |
Verouderd.
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse met de opgegeven serialisatie-informatie en streamingcontext. |
| DirectoryServicesCOMException(String, Exception) |
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse met de opgegeven tekenreeks en uitzondering. |
DirectoryServicesCOMException()
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse.
public:
DirectoryServicesCOMException();
public DirectoryServicesCOMException();
Public Sub New ()
Van toepassing op
DirectoryServicesCOMException(String)
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse met de opgegeven tekenreeks.
public:
DirectoryServicesCOMException(System::String ^ message);
public DirectoryServicesCOMException(string? message);
public DirectoryServicesCOMException(string message);
new System.DirectoryServices.DirectoryServicesCOMException : string -> System.DirectoryServices.DirectoryServicesCOMException
Public Sub New (message As String)
Parameters
- message
- String
Het bericht waarin de fout wordt beschreven.
Van toepassing op
DirectoryServicesCOMException(SerializationInfo, StreamingContext)
Let op
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse met de opgegeven serialisatie-informatie en streamingcontext.
protected:
DirectoryServicesCOMException(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 DirectoryServicesCOMException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected DirectoryServicesCOMException(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}")>]
new System.DirectoryServices.DirectoryServicesCOMException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.DirectoryServicesCOMException
new System.DirectoryServices.DirectoryServicesCOMException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.DirectoryServicesCOMException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
De SerializationInfo te vullen met gegevens.
- context
- StreamingContext
De StreamingContext bestemming voor deze serialisatie.
- Kenmerken
Van toepassing op
DirectoryServicesCOMException(String, Exception)
Initialiseert een nieuw exemplaar van de DirectoryServicesCOMException klasse met de opgegeven tekenreeks en uitzondering.
public:
DirectoryServicesCOMException(System::String ^ message, Exception ^ inner);
public DirectoryServicesCOMException(string? message, Exception? inner);
public DirectoryServicesCOMException(string message, Exception inner);
new System.DirectoryServices.DirectoryServicesCOMException : string * Exception -> System.DirectoryServices.DirectoryServicesCOMException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
Het bericht waarin de fout wordt beschreven.
- inner
- Exception
De uitzondering die de oorzaak is van de huidige uitzondering.