Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / Diagnostics / TraceFilter.cs / 1 / TraceFilter.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
namespace System.Diagnostics {
public abstract class TraceFilter {
internal string initializeData;
public abstract bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage,
object[] args, object data1, object[] data);
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, null, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, data1, null);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
namespace System.Diagnostics {
public abstract class TraceFilter {
internal string initializeData;
public abstract bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage,
object[] args, object data1, object[] data);
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, null, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, data1, null);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeFileMapViewHandle.cs
- Vector3D.cs
- MinMaxParagraphWidth.cs
- FrameworkElementAutomationPeer.cs
- NodeFunctions.cs
- DataGridViewTextBoxColumn.cs
- FamilyCollection.cs
- PropertyPathConverter.cs
- HatchBrush.cs
- PriorityQueue.cs
- SqlConnectionStringBuilder.cs
- FlowDocument.cs
- GenerateTemporaryTargetAssembly.cs
- DataKeyArray.cs
- StylusPointCollection.cs
- OdbcDataReader.cs
- Condition.cs
- WindowsUpDown.cs
- Rotation3D.cs
- CommandID.cs
- GeometryHitTestResult.cs
- ResXResourceSet.cs
- HtmlUtf8RawTextWriter.cs
- MaskedTextBoxTextEditor.cs
- _AuthenticationState.cs
- HostingEnvironmentWrapper.cs
- TableRow.cs
- SystemResourceHost.cs
- ScriptServiceAttribute.cs
- Registry.cs
- DataMemberConverter.cs
- MultiTargetingUtil.cs
- SapiRecoInterop.cs
- OdbcConnectionOpen.cs
- EventListener.cs
- ProtocolsConfigurationHandler.cs
- SingleSelectRootGridEntry.cs
- VectorKeyFrameCollection.cs
- RuntimeConfig.cs
- Button.cs
- JournalEntryListConverter.cs
- FormsAuthenticationCredentials.cs
- VSWCFServiceContractGenerator.cs
- AnnotationResourceChangedEventArgs.cs
- GorillaCodec.cs
- EdmEntityTypeAttribute.cs
- EntityClassGenerator.cs
- WebRequestModulesSection.cs
- UniformGrid.cs
- CodeSubDirectory.cs
- UriExt.cs
- SqlCachedBuffer.cs
- InstanceCompleteException.cs
- Pool.cs
- RijndaelCryptoServiceProvider.cs
- SubMenuStyleCollection.cs
- OperationCanceledException.cs
- Label.cs
- BinaryMethodMessage.cs
- shaperfactoryquerycacheentry.cs
- SerialErrors.cs
- SafeEventHandle.cs
- ExpressionLexer.cs
- InputScopeNameConverter.cs
- SortedList.cs
- LambdaExpression.cs
- XsdBuildProvider.cs
- BaseResourcesBuildProvider.cs
- DataListItemCollection.cs
- RowParagraph.cs
- DataControlFieldCell.cs
- DocumentReferenceCollection.cs
- TimeIntervalCollection.cs
- DataGridPagerStyle.cs
- ApplicationInfo.cs
- FixedFlowMap.cs
- CommandEventArgs.cs
- DragEvent.cs
- WCFServiceClientProxyGenerator.cs
- SoapConverter.cs
- BitmapEffectGeneralTransform.cs
- TextBoxBase.cs
- OdbcConnectionString.cs
- SqlProfileProvider.cs
- login.cs
- BufferedGraphicsContext.cs
- WmlPanelAdapter.cs
- ProviderConnectionPointCollection.cs
- TcpProcessProtocolHandler.cs
- Calendar.cs
- TextServicesDisplayAttribute.cs
- _DynamicWinsockMethods.cs
- CodeDomSerializationProvider.cs
- SmtpReplyReader.cs
- ResourcePermissionBase.cs
- XmlWhitespace.cs
- CatalogZoneBase.cs
- brushes.cs
- SpecialFolderEnumConverter.cs
- Equal.cs