LogEntry<TState>.Formatter 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取格式化程序。
public:
property Func<TState, Exception ^, System::String ^> ^ Formatter { Func<TState, Exception ^, System::String ^> ^ get(); };
public Func<TState,Exception?,string> Formatter { get; }
member this.Formatter : Func<'State, Exception, string>
Public ReadOnly Property Formatter As Func(Of TState, Exception, String)
属性值
表示格式化程序且采用 TState
和 Exception并返回字符串的封装方法。