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>
資料。