ExceptionCodec.SetBaseProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据提供的异常设置基属性。
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))
参数
- value
- Exception
值。
- message
- String
消息。
- stackTrace
- String
堆栈跟踪。
- innerException
- Exception
内部异常。
- hResult
- Int32
HResult。
- data
- Dictionary<Object,Object>
数据。