Show / Hide Table of Contents

    Class FaultContractReceiveInterceptorOptions

    Represents the options available to configure FaultContractReceiveInterceptor.

    Inheritance
    System.Object
    FaultContractReceiveInterceptorOptions
    Namespace: Copper.Service.Interceptors
    Assembly: Copper.Service.dll
    Syntax
    public class FaultContractReceiveInterceptorOptions

    Constructors

    View Source

    FaultContractReceiveInterceptorOptions()

    Initializes a new instance of the FaultContractReceiveInterceptorOptions class.

    Declaration
    public FaultContractReceiveInterceptorOptions()

    Properties

    View Source

    IncludeExceptionDetailInFaults

    Gets or sets a value that specifies that general unhandled execution exceptions are to be converted into a of type and sent as a fault message. Set this to true only during development to troubleshoot a service.

    Declaration
    public bool IncludeExceptionDetailInFaults { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if unhandled exceptions are to be returned as SOAP faults; otherwise, false. The default is false.

    • View Source
    Back to top Generated by DocFX