ExceptionCodec.GetDataProperty(Exception) 方法

定义

从提供的异常中获取数据属性。

public System.Collections.Generic.Dictionary<object,object> GetDataProperty (Exception exception);
member this.GetDataProperty : Exception -> System.Collections.Generic.Dictionary<obj, obj>
Public Function GetDataProperty (exception As Exception) As Dictionary(Of Object, Object)

参数

exception
Exception

异常。

返回

提供的异常的 Data 属性。

适用于