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
- FileDialogCustomPlacesCollection.cs
- CheckBoxRenderer.cs
- ZipIOLocalFileBlock.cs
- CompilationUtil.cs
- TemplateComponentConnector.cs
- DispatcherBuilder.cs
- InterleavedZipPartStream.cs
- AssemblyNameProxy.cs
- HttpRuntime.cs
- coordinatorscratchpad.cs
- ButtonBaseAdapter.cs
- WebControlParameterProxy.cs
- CallContext.cs
- MachineKeyConverter.cs
- TableLayoutRowStyleCollection.cs
- DataGridParentRows.cs
- InplaceBitmapMetadataWriter.cs
- WebPartDescriptionCollection.cs
- SoapMessage.cs
- XmlHierarchyData.cs
- unitconverter.cs
- PlatformCulture.cs
- NotSupportedException.cs
- Serializer.cs
- CopyAction.cs
- NamespaceExpr.cs
- DispatcherHookEventArgs.cs
- latinshape.cs
- PersonalizationState.cs
- SafeArrayRankMismatchException.cs
- ResXResourceReader.cs
- IOThreadTimer.cs
- ClientOptions.cs
- ToolbarAUtomationPeer.cs
- Tag.cs
- EntityFunctions.cs
- ComponentResourceKeyConverter.cs
- XmlSerializationGeneratedCode.cs
- Binding.cs
- OdbcEnvironmentHandle.cs
- LinqDataSourceValidationException.cs
- _DomainName.cs
- XmlSchemaGroup.cs
- SettingsProperty.cs
- SamlAssertion.cs
- ActivityDelegate.cs
- EntityStoreSchemaFilterEntry.cs
- UpdateExpressionVisitor.cs
- InvalidOperationException.cs
- DataGridViewCellFormattingEventArgs.cs
- EntityDataSourceContextDisposingEventArgs.cs
- WebPartsPersonalizationAuthorization.cs
- LinkConverter.cs
- ReadOnlyDataSource.cs
- PieceDirectory.cs
- WebPartZoneBase.cs
- AutomationAttributeInfo.cs
- _Rfc2616CacheValidators.cs
- InstalledFontCollection.cs
- TimeoutConverter.cs
- FixedSOMPage.cs
- Int32.cs
- EventProviderWriter.cs
- MarshalDirectiveException.cs
- BitmapFrameEncode.cs
- SmiEventStream.cs
- DataGridLinkButton.cs
- Deserializer.cs
- DeviceSpecificDialogCachedState.cs
- TreeNodeBindingCollection.cs
- BufferBuilder.cs
- PerformanceCounterPermission.cs
- RedBlackList.cs
- NameSpaceEvent.cs
- _PooledStream.cs
- BezierSegment.cs
- HttpHandlersSection.cs
- LocatorGroup.cs
- TypedTableBase.cs
- RefreshEventArgs.cs
- Animatable.cs
- PersonalizationDictionary.cs
- _HTTPDateParse.cs
- Rijndael.cs
- Propagator.JoinPropagator.cs
- SqlConnectionManager.cs
- BufferedStream.cs
- CurrencyWrapper.cs
- MsmqIntegrationChannelListener.cs
- AccessControlEntry.cs
- CommentEmitter.cs
- Comparer.cs
- UnauthorizedAccessException.cs
- ConfigurationProperty.cs
- SkipQueryOptionExpression.cs
- InsufficientMemoryException.cs
- BitmapEffect.cs
- AuthenticatedStream.cs
- IdentityHolder.cs
- MULTI_QI.cs