EventRecord.FormatDescription 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取事件消息。
重载
| FormatDescription() | 
						 获取当前区域设置中的事件消息。  | 
        	
| FormatDescription(IEnumerable<Object>) | 
						 获取事件消息,将消息中的变量替换为指定值。  | 
        	
FormatDescription()
- Source:
 - EventRecord.cs
 
- Source:
 - EventRecord.cs
 
- Source:
 - EventRecord.cs
 
获取当前区域设置中的事件消息。
public:
 abstract System::String ^ FormatDescription();
	public abstract string FormatDescription ();
	abstract member FormatDescription : unit -> string
	Public MustOverride Function FormatDescription () As String
	返回
返回一个包含当前区域设置中的事件消息的字符串。
另请参阅
适用于
FormatDescription(IEnumerable<Object>)
- Source:
 - EventRecord.cs
 
- Source:
 - EventRecord.cs
 
- Source:
 - EventRecord.cs
 
获取事件消息,将消息中的变量替换为指定值。
public:
 abstract System::String ^ FormatDescription(System::Collections::Generic::IEnumerable<System::Object ^> ^ values);
	public abstract string FormatDescription (System.Collections.Generic.IEnumerable<object> values);
	abstract member FormatDescription : seq<obj> -> string
	Public MustOverride Function FormatDescription (values As IEnumerable(Of Object)) As String
	参数
- values
 - IEnumerable<Object>
 
用于替换事件消息中的变量的值。 变量用 %n 表示,其中 n 是一个数字。
返回
返回一个包含当前区域设置中的事件消息的字符串。