Search Results for

    Show / Hide Table of Contents

    Class WebFaultDetailHelper

    Summary description for WebFaultDetailHelper.

    Inheritance
    System.Object
    WebFaultDetailHelper
    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: ImageVault.Common.Lib.Wcf
    Assembly: ImageVault.Common.dll
    Syntax
    public class WebFaultDetailHelper

    Constructors

    WebFaultDetailHelper(Type)

    Initializes a new instance of the WebFaultDetailHelper class.

    Declaration
    public WebFaultDetailHelper(Type defaultExceptionType)
    Parameters
    Type Name Description
    System.Type defaultExceptionType

    Properties

    DefaultExceptionType

    Get/Sets the DefaultExceptionType of the WebFaultDetailHelper

    Declaration
    public Type DefaultExceptionType { get; set; }
    Property Value
    Type Description
    System.Type

    Methods

    CreateException(WebFaultDetail)

    Creates an exception based on the supplied detail

    Declaration
    public Exception CreateException(WebFaultDetail detail)
    Parameters
    Type Name Description
    WebFaultDetail detail
    Returns
    Type Description
    System.Exception
    Exceptions
    Type Condition
    System.ArgumentNullException

    If detail is null.

    RegisterException(Type)

    Registers an Exception as avaliable for the helper

    Declaration
    public void RegisterException(Type exceptionType)
    Parameters
    Type Name Description
    System.Type exceptionType
    Exceptions
    Type Condition
    System.ArgumentException

    If supplied exception must have a constructor taking a string as argument.

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022