Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / HeaderFilter.cs / 1 / HeaderFilter.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.ServiceModel.Dispatcher
{
using System;
using System.ServiceModel.Channels;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.ServiceModel.Diagnostics;
abstract class HeaderFilter : MessageFilter
{
protected HeaderFilter()
: base()
{
}
public override bool Match(MessageBuffer buffer)
{
if (buffer == null)
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("buffer");
}
Message message = buffer.CreateMessage();
try
{
return Match(message);
}
finally
{
message.Close();
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StructuralComparisons.cs
- ConstraintStruct.cs
- SqlNotificationEventArgs.cs
- DependencyPropertyKind.cs
- EntityDataSourceContainerNameConverter.cs
- NumberSubstitution.cs
- ExpandCollapsePattern.cs
- AutomationElement.cs
- DictionaryContent.cs
- DictionaryMarkupSerializer.cs
- MatrixUtil.cs
- XamlVector3DCollectionSerializer.cs
- SourceInterpreter.cs
- ElementAction.cs
- MethodRental.cs
- ApplicationContext.cs
- RefreshPropertiesAttribute.cs
- TextServicesHost.cs
- WebHttpDispatchOperationSelector.cs
- SchemaImporter.cs
- DashStyle.cs
- ClientProxyGenerator.cs
- ConfigXmlSignificantWhitespace.cs
- PrintingPermissionAttribute.cs
- graph.cs
- ArrayHelper.cs
- AspNetSynchronizationContext.cs
- EntityDesignerBuildProvider.cs
- ChtmlTextWriter.cs
- SoundPlayerAction.cs
- TextTreeExtractElementUndoUnit.cs
- DoubleAnimationClockResource.cs
- Serializer.cs
- CurrentTimeZone.cs
- VerificationAttribute.cs
- ManifestResourceInfo.cs
- PerformanceCounter.cs
- TdsParserSessionPool.cs
- VersionedStreamOwner.cs
- WeakRefEnumerator.cs
- AvTraceFormat.cs
- DataRowComparer.cs
- SqlNodeAnnotations.cs
- AutomationPeer.cs
- RestHandler.cs
- SoapInteropTypes.cs
- RecordManager.cs
- XamlRtfConverter.cs
- MruCache.cs
- DataGridPageChangedEventArgs.cs
- Control.cs
- FixedDocumentSequencePaginator.cs
- ChooseAction.cs
- DataSourceConverter.cs
- TypeBuilder.cs
- Journaling.cs
- BinaryReader.cs
- IssuedTokenParametersEndpointAddressElement.cs
- HandleRef.cs
- KeyedCollection.cs
- ListViewItem.cs
- ExternalDataExchangeService.cs
- SQLDoubleStorage.cs
- XsdDateTime.cs
- wgx_sdk_version.cs
- SvcMapFileLoader.cs
- unsafenativemethodstextservices.cs
- MetafileHeaderWmf.cs
- ExpressionBuilderContext.cs
- InkCanvasAutomationPeer.cs
- HwndHost.cs
- ISAPIWorkerRequest.cs
- ClusterRegistryConfigurationProvider.cs
- BinaryObjectWriter.cs
- EventEntry.cs
- XamlTypeMapperSchemaContext.cs
- WebSysDisplayNameAttribute.cs
- QilXmlWriter.cs
- MaterialGroup.cs
- SoapAttributeAttribute.cs
- StructuralObject.cs
- TcpServerChannel.cs
- loginstatus.cs
- regiisutil.cs
- ExtendedTransformFactory.cs
- precedingquery.cs
- PerformanceCounters.cs
- TabPage.cs
- TreeNodeEventArgs.cs
- AssemblySettingAttributes.cs
- EmbeddedMailObject.cs
- Select.cs
- EventWaitHandle.cs
- XmlQueryRuntime.cs
- IdentifierService.cs
- Math.cs
- WebSysDisplayNameAttribute.cs
- FormViewDesigner.cs
- CommonDialog.cs
- JoinCqlBlock.cs