Show / Hide Table of Contents

Class SoExceptionInfo

Representation of a serialized exception that can be communicatyed over Wcf

Inheritance
System.Object
SoExceptionInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.Exceptions
Assembly: SoCore.dll
Syntax
public class SoExceptionInfo
Remarks

Use ExceptionHelper to work with the SoException Class

Constructors

SoExceptionInfo()

Default Constructor.

Declaration
public SoExceptionInfo()

Properties

ExceptionType

Type of Exception.

Declaration
public string ExceptionType { get; set; }
Property Value
Type Description
System.String

FriendlyText

Friendly name.

Declaration
public string FriendlyText { get; set; }
Property Value
Type Description
System.String

InnerException

Inner Exception.

Declaration
public SoExceptionInfo InnerException { get; set; }
Property Value
Type Description
SoExceptionInfo

Message

The message that describes the error.

Declaration
public string Message { get; set; }
Property Value
Type Description
System.String

Parameters

Additional parameters relevant to describe the exception.

Declaration
public SoExceptionInfoParameters Parameters { get; set; }
Property Value
Type Description
SoExceptionInfoParameters

Source

The name of the application or the object that causes the error.

Declaration
public string Source { get; set; }
Property Value
Type Description
System.String

StackTrace

A string that describes the contents of the call stack, with the most recent method call appearing first.

Declaration
public string StackTrace { get; set; }
Property Value
Type Description
System.String

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ExceptionHelper.GetInnermostException(SoExceptionInfo)
ExceptionHelper.TryGetRealType(SoExceptionInfo, out Type)
ExceptionHelper.ToString(SoExceptionInfo, String, Boolean)
ExceptionHelper.Enumerate(SoExceptionInfo)
ExceptionHelper.GetFriendlyText(SoExceptionInfo)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top