C# Class System.Diagnostics.TraceSource

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
Flush ( ) : void
TraceSource ( string name )
TraceSource ( string name, System defaultLevel )
TraceSource ( string name ) : System
TraceSource ( string name, SourceLevels defaultLevel ) : System
TraceTransfer ( int id, string message, System relatedActivityId ) : void

Méthodes protégées

Méthode Description
GetSupportedAttributes ( ) : string[]

Private Methods

Méthode Description
Initialize ( ) : void
NoConfigInit ( ) : void
Refresh ( ) : void
RefreshAll ( ) : void
TraceData ( System eventType, int id ) : void
TraceData ( System eventType, int id, object data ) : void
TraceData ( TraceEventType eventType, int id ) : void
TraceData ( TraceEventType eventType, int id, object data ) : void
TraceEvent ( System eventType, int id ) : void
TraceEvent ( System eventType, int id, string message ) : void
TraceEvent ( TraceEventType eventType, int id ) : void
TraceEvent ( TraceEventType eventType, int id, string message ) : void
TraceInformation ( string message ) : void
TraceTransfer ( int id, string message, Guid relatedActivityId ) : void
_pruneCachedTraceSources ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

GetSupportedAttributes() protected méthode

protected GetSupportedAttributes ( ) : string[]
Résultat string[]

TraceSource() public méthode

public TraceSource ( string name )
name string

TraceSource() public méthode

public TraceSource ( string name, System defaultLevel )
name string
defaultLevel System

TraceSource() public méthode

public TraceSource ( string name ) : System
name string
Résultat System

TraceSource() public méthode

public TraceSource ( string name, SourceLevels defaultLevel ) : System
name string
defaultLevel SourceLevels
Résultat System

TraceTransfer() public méthode

public TraceTransfer ( int id, string message, System relatedActivityId ) : void
id int
message string
relatedActivityId System
Résultat void