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
- ControlPaint.cs
- FontWeights.cs
- DeferredElementTreeState.cs
- Literal.cs
- BinaryQueryOperator.cs
- WebResponse.cs
- FormCollection.cs
- ExpressionsCollectionConverter.cs
- MediaElementAutomationPeer.cs
- XmlCodeExporter.cs
- AxisAngleRotation3D.cs
- GeneralTransform3DGroup.cs
- DoubleStorage.cs
- ErrorWebPart.cs
- VirtualDirectoryMapping.cs
- SHA256Cng.cs
- ProcessProtocolHandler.cs
- MethodBuilderInstantiation.cs
- CompilerParameters.cs
- IsolatedStorageFilePermission.cs
- BamlResourceContent.cs
- AutomationEventArgs.cs
- OptimalBreakSession.cs
- UdpDuplexChannel.cs
- GlyphTypeface.cs
- XmlSchemas.cs
- InvalidCastException.cs
- ProtocolViolationException.cs
- SHA1.cs
- DataViewManager.cs
- XmlSchemaAttributeGroup.cs
- LinkLabelLinkClickedEvent.cs
- Unit.cs
- InfoCardArgumentException.cs
- BindingContext.cs
- PageAsyncTaskManager.cs
- ADMembershipUser.cs
- ExpressionCopier.cs
- DispatchChannelSink.cs
- IdentitySection.cs
- XamlRtfConverter.cs
- Single.cs
- InstanceCreationEditor.cs
- Bidi.cs
- ObjectSet.cs
- TableLayoutStyleCollection.cs
- RightNameExpirationInfoPair.cs
- DiscreteKeyFrames.cs
- OutputCacheProfile.cs
- FileEnumerator.cs
- AccessorTable.cs
- PipeConnection.cs
- DataColumnPropertyDescriptor.cs
- EmptyStringExpandableObjectConverter.cs
- SqlReferenceCollection.cs
- DiffuseMaterial.cs
- Invariant.cs
- XmlNamedNodeMap.cs
- TableCellAutomationPeer.cs
- XmlAtomErrorReader.cs
- FilteredReadOnlyMetadataCollection.cs
- SafeJobHandle.cs
- DrawingGroup.cs
- CodeDomSerializerException.cs
- MessageDecoder.cs
- DataGridRowHeaderAutomationPeer.cs
- WebPartHelpVerb.cs
- EventProperty.cs
- MediaElement.cs
- InplaceBitmapMetadataWriter.cs
- ELinqQueryState.cs
- Stack.cs
- Table.cs
- DefaultPrintController.cs
- XmlQuerySequence.cs
- ResourceDefaultValueAttribute.cs
- WorkflowInstanceContextProvider.cs
- DataObjectMethodAttribute.cs
- OracleInfoMessageEventArgs.cs
- MenuCommandsChangedEventArgs.cs
- ClientSettings.cs
- ObjectCloneHelper.cs
- Range.cs
- GroupItem.cs
- HtmlImage.cs
- HttpMethodAttribute.cs
- QilXmlWriter.cs
- MetaChildrenColumn.cs
- DelegatedStream.cs
- Cursor.cs
- CommandDevice.cs
- XmlSerializableServices.cs
- SmiGettersStream.cs
- ParserExtension.cs
- KnownTypes.cs
- TreeViewItemAutomationPeer.cs
- ImmComposition.cs
- PointCollection.cs
- UInt16Converter.cs
- XmlSchemaImport.cs