Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / MatchAllMessageFilter.cs / 1 / MatchAllMessageFilter.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System; using System.ServiceModel.Channels; using System.Diagnostics; using System.Runtime.Serialization; [DataContract] public class MatchAllMessageFilter : MessageFilter { public MatchAllMessageFilter() : base() { } public override bool Match(MessageBuffer messageBuffer) { if(messageBuffer == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("messageBuffer"); } return true; } public override bool Match(Message message) { if(message == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("message"); } return true; } } } // 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
- ProfilePropertySettings.cs
- SystemInfo.cs
- XmlSchemaAnyAttribute.cs
- ConfigurationCollectionAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- WorkflowMessageEventHandler.cs
- SrgsElementFactoryCompiler.cs
- TextRangeEditTables.cs
- ComplexTypeEmitter.cs
- DynamicValidatorEventArgs.cs
- XmlWrappingWriter.cs
- ChameleonKey.cs
- HostingPreferredMapPath.cs
- DesignTimeVisibleAttribute.cs
- SqlDataSourceSelectingEventArgs.cs
- TableCellAutomationPeer.cs
- AppDomainProtocolHandler.cs
- X509Utils.cs
- ObjectListComponentEditor.cs
- NetStream.cs
- Int32RectConverter.cs
- ImageMapEventArgs.cs
- EndPoint.cs
- SqlDataSourceWizardForm.cs
- xdrvalidator.cs
- LookupNode.cs
- SQLString.cs
- BaseTemplateBuildProvider.cs
- ScalarConstant.cs
- ProbeDuplexAsyncResult.cs
- FontStyleConverter.cs
- BinaryMessageEncoder.cs
- XmlNode.cs
- counter.cs
- NavigationProperty.cs
- MimeXmlReflector.cs
- CompositeFontInfo.cs
- AnimatedTypeHelpers.cs
- TextLineResult.cs
- DataMemberFieldEditor.cs
- TdsParser.cs
- ConfigurationPropertyCollection.cs
- WSSecurityXXX2005.cs
- ApplyImportsAction.cs
- HttpRuntimeSection.cs
- Compilation.cs
- RelOps.cs
- BatchWriter.cs
- ByteArrayHelperWithString.cs
- MasterPageCodeDomTreeGenerator.cs
- UnauthorizedAccessException.cs
- ArgumentValueSerializer.cs
- MenuItem.cs
- WpfWebRequestHelper.cs
- ImageAttributes.cs
- FixedPageStructure.cs
- RequestStatusBarUpdateEventArgs.cs
- Metafile.cs
- SerializationException.cs
- HwndStylusInputProvider.cs
- sqlser.cs
- ComPlusAuthorization.cs
- DefaultBindingPropertyAttribute.cs
- CanonicalXml.cs
- DataGridTextBox.cs
- DeflateInput.cs
- Viewport3DVisual.cs
- HttpHandlerAction.cs
- TextRangeEdit.cs
- ComponentManagerBroker.cs
- MemoryMappedViewStream.cs
- XdrBuilder.cs
- Debug.cs
- DocumentManager.cs
- StreamingContext.cs
- SyndicationSerializer.cs
- RegexBoyerMoore.cs
- DateTimeParse.cs
- EventSinkActivityDesigner.cs
- Point3DCollection.cs
- ToggleProviderWrapper.cs
- MetadataHelper.cs
- rsa.cs
- IMembershipProvider.cs
- XmlDataLoader.cs
- RecordsAffectedEventArgs.cs
- RangeBase.cs
- RotateTransform3D.cs
- SessionChannels.cs
- DoubleMinMaxAggregationOperator.cs
- TraceContext.cs
- streamingZipPartStream.cs
- DesignerVerbToolStripMenuItem.cs
- IPEndPointCollection.cs
- XmlExceptionHelper.cs
- DecoderBestFitFallback.cs
- VolatileEnlistmentState.cs
- HeaderCollection.cs
- MsmqTransportBindingElement.cs
- HWStack.cs