WrappedException Class
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.
An exception class used by the Orleans runtime for reporting errors.
[Orleans.GenerateSerializer]
[System.Serializable]
public class WrappedException : Orleans.Runtime.OrleansException
[<Orleans.GenerateSerializer>]
[<System.Serializable>]
type WrappedException = class
inherit OrleansException
Public Class WrappedException
Inherits OrleansException
- Inheritance
- Attributes
Remarks
This is also the base class for any more specific exceptions raised by the Orleans runtime.
Constructors
WrappedException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the WrappedException class. |
WrappedException(String) |
Initializes a new instance of the WrappedException class. |
Properties
OriginalExceptionType |
Gets or sets the type of the original exception. |
Methods
CreateAndRethrow(Exception) |
Creates a new instance of the WrappedException class and rethrows it using the provided exception's stack trace. |
GetObjectData(SerializationInfo, StreamingContext) |
Obsolete.
When overridden in a derived class, sets the SerializationInfo with information about the exception. |
ToString() | Creates and returns a string representation of the current exception. |