UnknownChannelException 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 UnknownChannelException object.
Overloads
UnknownChannelException() |
Initializes a new UnknownChannelException object. |
UnknownChannelException(Exception) |
Initializes a new UnknownChannelException object by specifying an inner exception that caused the current exception. |
UnknownChannelException(String) |
Initializes a new UnknownChannelException object by specifying the error message that describes the current exception. |
UnknownChannelException(SerializationInfo, StreamingContext) |
Initializes a new UnknownChannelException object with serialized data. |
UnknownChannelException(String, Exception) |
Initializes a new UnknownChannelException object with an error message and inner exception. |
UnknownChannelException()
Initializes a new UnknownChannelException object.
public:
UnknownChannelException();
public UnknownChannelException ();
Public Sub New ()
Applies to
UnknownChannelException(Exception)
Initializes a new UnknownChannelException object by specifying an inner exception that caused the current exception.
public:
UnknownChannelException(Exception ^ inner);
public UnknownChannelException (Exception inner);
new Microsoft.EnterpriseManagement.Common.UnknownChannelException : Exception -> Microsoft.EnterpriseManagement.Common.UnknownChannelException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
UnknownChannelException(String)
Initializes a new UnknownChannelException object by specifying the error message that describes the current exception.
public:
UnknownChannelException(System::String ^ message);
public UnknownChannelException (string message);
new Microsoft.EnterpriseManagement.Common.UnknownChannelException : string -> Microsoft.EnterpriseManagement.Common.UnknownChannelException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
UnknownChannelException(SerializationInfo, StreamingContext)
Initializes a new UnknownChannelException object with serialized data.
protected:
UnknownChannelException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected UnknownChannelException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.UnknownChannelException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.UnknownChannelException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.
Applies to
UnknownChannelException(String, Exception)
Initializes a new UnknownChannelException object with an error message and inner exception.
public:
UnknownChannelException(System::String ^ message, Exception ^ inner);
public UnknownChannelException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.UnknownChannelException : string * Exception -> Microsoft.EnterpriseManagement.Common.UnknownChannelException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- inner
- Exception
The Exception instance that caused the current exception.