TypeNotMappedException 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 TypeNotMappedException class.
Overloads
TypeNotMappedException() |
Initializes a new instance of the TypeNotMappedException class with the default values. |
TypeNotMappedException(String) |
Initializes a new instance of the TypeNotMappedException class with a specified error message. |
TypeNotMappedException(SerializationInfo, StreamingContext) |
Initializes a new instance of the TypeNotMappedException class with the specified serialization and context information. |
TypeNotMappedException(String, Exception) |
Initializes a new instance of the TypeNotMappedException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
TypeNotMappedException()
Initializes a new instance of the TypeNotMappedException class with the default values.
public:
TypeNotMappedException();
public TypeNotMappedException();
Public Sub New ()
Applies to
TypeNotMappedException(String)
Initializes a new instance of the TypeNotMappedException class with a specified error message.
public:
TypeNotMappedException(System::String ^ message);
public TypeNotMappedException(string message);
new Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException : string -> Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException
Public Sub New (message As String)
Parameters
- message
- String
The error message.
Applies to
TypeNotMappedException(SerializationInfo, StreamingContext)
Initializes a new instance of the TypeNotMappedException class with the specified serialization and context information.
protected:
TypeNotMappedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected TypeNotMappedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
TypeNotMappedException(String, Exception)
Initializes a new instance of the TypeNotMappedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
TypeNotMappedException(System::String ^ message, Exception ^ inner);
public TypeNotMappedException(string message, Exception inner);
new Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException : string * Exception -> Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message.
- inner
- Exception
The inner exception.