Düzenle

Aracılığıyla paylaş


ExceptionCodec.SetBaseProperties Method

Definition

Sets base properties on the provided exception.

public void SetBaseProperties (Exception value, string message, string stackTrace, Exception innerException, int hResult, System.Collections.Generic.Dictionary<object,object> data);
member this.SetBaseProperties : Exception * string * string * Exception * int * System.Collections.Generic.Dictionary<obj, obj> -> unit
Public Sub SetBaseProperties (value As Exception, message As String, stackTrace As String, innerException As Exception, hResult As Integer, data As Dictionary(Of Object, Object))

Parameters

value
Exception

The value.

message
String

The message.

stackTrace
String

The stack trace.

innerException
Exception

The inner exception.

hResult
Int32

The HResult.

data
Dictionary<Object,Object>

The data.

Applies to