WrappedException 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.
Overloads
WrappedException(String) |
Initializes a new instance of the WrappedException class. |
WrappedException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the WrappedException class. |
WrappedException(String)
Initializes a new instance of the WrappedException class.
public WrappedException (string message);
new Orleans.Runtime.WrappedException : string -> Orleans.Runtime.WrappedException
Public Sub New (message As String)
Parameters
- message
- String
The message.
Applies to
WrappedException(SerializationInfo, StreamingContext)
Caution
This API is now deprecated.
Initializes a new instance of the WrappedException class.
protected WrappedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected WrappedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Runtime.WrappedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.WrappedException
[<System.Obsolete>]
new Orleans.Runtime.WrappedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.WrappedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialization info.
- context
- StreamingContext
The context.
- Attributes
Exceptions
The class name is null
or HResult is zero (0).
info
is null
.