ExceptionCodec.SetBaseProperties 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.
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.