Collapse All Expand All

C#

Q-Pulse Web Services
ErrorHandlerBehaviorAttribute..::..ReplaceException Method
ErrorHandlerBehaviorAttribute Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Replace the outgoing exception with our own exception that has a specific ServiceFaultCode

Namespace: QPulseWebServices.Core.ExceptionHandling
Assembly: QPulseWebServices (in QPulseWebServices.dll) Version: 2.100.6600.42

# Syntax

C#
    private static void ReplaceException(
    	MessageVersion version,
    	ref Message msg,
    	ServiceFaultCode faultCode,
    	string errorMessage
    )

#### Parameters

version
  Type: System.ServiceModel.Channels..::..MessageVersion

  [Missing <param name="version"/> documentation for "M:QPulseWebServices.Core.ExceptionHandling.ErrorHandlerBehaviorAttribute.ReplaceException(System.ServiceModel.Channels.MessageVersion,System.ServiceModel.Channels.Message@,QPulseWebServices.Contracts.Fault.ServiceFaultCode,System.String)"]

msg
  Type: System.ServiceModel.Channels..::..Message%

  [Missing <param name="msg"/> documentation for "M:QPulseWebServices.Core.ExceptionHandling.ErrorHandlerBehaviorAttribute.ReplaceException(System.ServiceModel.Channels.MessageVersion,System.ServiceModel.Channels.Message@,QPulseWebServices.Contracts.Fault.ServiceFaultCode,System.String)"]

faultCode
  Type: QPulseWebServices.Contracts.Fault..::..ServiceFaultCode

  [Missing <param name="faultCode"/> documentation for "M:QPulseWebServices.Core.ExceptionHandling.ErrorHandlerBehaviorAttribute.ReplaceException(System.ServiceModel.Channels.MessageVersion,System.ServiceModel.Channels.Message@,QPulseWebServices.Contracts.Fault.ServiceFaultCode,System.String)"]

errorMessage
  Type: System..::..String

  [Missing <param name="errorMessage"/> documentation for "M:QPulseWebServices.Core.ExceptionHandling.ErrorHandlerBehaviorAttribute.ReplaceException(System.ServiceModel.Channels.MessageVersion,System.ServiceModel.Channels.Message@,QPulseWebServices.Contracts.Fault.ServiceFaultCode,System.String)"]

# See Also

ErrorHandlerBehaviorAttribute Class
ErrorHandlerBehaviorAttribute..::..ErrorHandlerBehaviorAttribute Members
QPulseWebServices.Core.ExceptionHandling Namespace