BerConversionException Constructors
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.
The BerConversionException() constructor creates an instance of the BerConversionException class.
BerConversionException() |
The BerConversionException() constructor creates an instance of the BerConversionException class. |
BerConversionException(String) |
The BerConversionException(String) constructor creates an instance of the BerConversionException class using the specified message. |
BerConversionException(SerializationInfo, StreamingContext) |
Obsolete.
The BerConversionException(SerializationInfo, StreamingContext) constructor creates an instance of the BerConversionException class using the specified serialization data and streaming contextual data. |
BerConversionException(String, Exception) |
The BerConversionException(String, Exception) constructor creates an instance of the BerConversionException class using the specified message and inner exception. |
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
The BerConversionException() constructor creates an instance of the BerConversionException class.
public:
BerConversionException();
public BerConversionException ();
Public Sub New ()
Applies to
.NET 9 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
The BerConversionException(String) constructor creates an instance of the BerConversionException class using the specified message.
public:
BerConversionException(System::String ^ message);
public BerConversionException (string message);
new System.DirectoryServices.Protocols.BerConversionException : string -> System.DirectoryServices.Protocols.BerConversionException
Public Sub New (message As String)
Parameters
- message
- String
The message displayed to the client when the exception is thrown.
Applies to
.NET 9 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
Caution
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
The BerConversionException(SerializationInfo, StreamingContext) constructor creates an instance of the BerConversionException class using the specified serialization data and streaming contextual data.
protected:
BerConversionException(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 BerConversionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected BerConversionException (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.Protocols.BerConversionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.BerConversionException
new System.DirectoryServices.Protocols.BerConversionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.BerConversionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialized object data about the exception thrown.
- context
- StreamingContext
The contextual data about the source or destination.
- Attributes
Applies to
.NET 9 (package-provided) e altre versioni
Prodotto | Versioni (Obsoleto) |
---|---|
.NET | (8 (package-provided), 9 (package-provided)) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
- Source:
- DirectoryException.cs
The BerConversionException(String, Exception) constructor creates an instance of the BerConversionException class using the specified message and inner exception.
public:
BerConversionException(System::String ^ message, Exception ^ inner);
public BerConversionException (string message, Exception inner);
new System.DirectoryServices.Protocols.BerConversionException : string * Exception -> System.DirectoryServices.Protocols.BerConversionException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The message displayed when the exception is thrown.
- inner
- Exception
The InnerException, if any, that threw the exception.
Applies to
.NET 9 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: