Redigera

Dela via


WrappedException Class

Definition

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
WrappedException
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.

Applies to