public static SetTrace ( SourceLevels level, TraceOptions options ) : void | ||
level | SourceLevels | |
options | TraceOptions | |
return | void |
public static void SetTrace(SourceLevels level, TraceOptions options)
{
if (_listener == null)
{
_listener = new BindingErrorTraceListener();
PresentationTraceSources.DataBindingSource.Listeners.Add(_listener);
}
_listener.TraceOutputOptions = options;
PresentationTraceSources.DataBindingSource.Switch.Level = level;
}
BindingErrorTraceListener::SetTrace ( ) : void |