C# Класс Microsoft.Zing.TraceEvent

This event is generated when a "trace" statement is executed. State.GetEvents
Trace events are generated as the result of executing a Zing "trace" statement. The parameters in a trace statement consist of a string literal (required) and a variable-length list of additional parameters. By convention, the first parameter is treated as a format string for the remaining parameters, and the ToString method of TraceEvent makes this assumption. This is not required, however, in which case ToString will return only the first parameter.
Наследование: ZingEvent
Показать файл Открыть проект

Открытые методы

Метод Описание
GetArguments ( ) : object[]

Returns an array of objects containing any additional parameters provided in the trace statement (may contain zero elements).

ToString ( ) : string

Formats the trace event by treating the first parameter as a format string for any additional parameters.

ToXml ( XmlElement parent ) : void

Приватные методы

Метод Описание
TraceEvent ( ZingSourceContext context, ZingAttribute contextAttribute, string message ) : System
TraceEvent ( ZingSourceContext context, ZingAttribute contextAttribute, string message, int SerialNumber ) : System

Описание методов

GetArguments() публичный Метод

Returns an array of objects containing any additional parameters provided in the trace statement (may contain zero elements).
public GetArguments ( ) : object[]
Результат object[]

ToString() публичный Метод

Formats the trace event by treating the first parameter as a format string for any additional parameters.
public ToString ( ) : string
Результат string

ToXml() публичный Метод

public ToXml ( XmlElement parent ) : void
parent System.Xml.XmlElement
Результат void