LogFormatter.SetExceptionDecoder(Type, Func<Exception,String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the exception decoder for the specified exception type.
public static void SetExceptionDecoder (Type exceptionType, Func<Exception,string> decoder);
static member SetExceptionDecoder : Type * Func<Exception, string> -> unit
Public Shared Sub SetExceptionDecoder (exceptionType As Type, decoder As Func(Of Exception, String))
Parameters
- exceptionType
- Type
The exception type to configure a decoder for.