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
- RNGCryptoServiceProvider.cs
- SafeViewOfFileHandle.cs
- ParagraphVisual.cs
- COM2Enum.cs
- TextParaLineResult.cs
- PrintPreviewGraphics.cs
- SecurityVerifiedMessage.cs
- ReaderContextStackData.cs
- Function.cs
- Exception.cs
- DataObjectCopyingEventArgs.cs
- MailWriter.cs
- SelectionGlyph.cs
- TypeCollectionDesigner.xaml.cs
- PixelFormats.cs
- InfocardExtendedInformationCollection.cs
- StandardToolWindows.cs
- Mouse.cs
- SmiEventSink_DeferedProcessing.cs
- AggregateNode.cs
- UIPropertyMetadata.cs
- DataKey.cs
- ScriptResourceHandler.cs
- HeaderCollection.cs
- EntitySetDataBindingList.cs
- ConfigurationLocation.cs
- ResourceAttributes.cs
- PenContext.cs
- StrokeCollection2.cs
- ApplicationHost.cs
- FormattedText.cs
- FilterableAttribute.cs
- FocusChangedEventArgs.cs
- DBCommand.cs
- StandardMenuStripVerb.cs
- RuntimeIdentifierPropertyAttribute.cs
- RefreshEventArgs.cs
- DataControlFieldHeaderCell.cs
- NotImplementedException.cs
- Msmq3PoisonHandler.cs
- DataSourceXmlSubItemAttribute.cs
- MetadataItemCollectionFactory.cs
- ApplicationServiceHelper.cs
- StringExpressionSet.cs
- DiscoveryServerProtocol.cs
- NativeCompoundFileAPIs.cs
- DataControlButton.cs
- SqlTrackingWorkflowInstance.cs
- SettingsAttributeDictionary.cs
- CodeCatchClauseCollection.cs
- UnsafeNativeMethods.cs
- FieldCollectionEditor.cs
- FormsAuthenticationEventArgs.cs
- GeneralTransform3DGroup.cs
- TextDecorationCollection.cs
- BmpBitmapEncoder.cs
- LogReservationCollection.cs
- ISFTagAndGuidCache.cs
- CharacterHit.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- PolicyValidator.cs
- MaskInputRejectedEventArgs.cs
- WmpBitmapDecoder.cs
- OperatingSystem.cs
- UnsupportedPolicyOptionsException.cs
- ImageBrush.cs
- EntryIndex.cs
- Timer.cs
- CategoryValueConverter.cs
- ListViewContainer.cs
- ResXResourceSet.cs
- MetadataPropertyAttribute.cs
- ThaiBuddhistCalendar.cs
- rsa.cs
- GroupItem.cs
- CodeDomConfigurationHandler.cs
- CodeDOMUtility.cs
- RoleGroupCollection.cs
- GridViewActionList.cs
- Transform3D.cs
- sqlser.cs
- EntityDataSourceChangedEventArgs.cs
- ProgressPage.cs
- StreamInfo.cs
- QueryInterceptorAttribute.cs
- UriScheme.cs
- MiniConstructorInfo.cs
- MasterPageParser.cs
- DBProviderConfigurationHandler.cs
- ReflectionPermission.cs
- AdornerPresentationContext.cs
- TrackingAnnotationCollection.cs
- DataTableMapping.cs
- ConsumerConnectionPointCollection.cs
- RemoteCryptoDecryptRequest.cs
- CompModSwitches.cs
- EditorReuseAttribute.cs
- AdCreatedEventArgs.cs
- SingleAnimationUsingKeyFrames.cs
- PublisherMembershipCondition.cs