Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Description / HttpPostProtocolImporter.cs / 1305376 / HttpPostProtocolImporter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System.Web.Services.Protocols; internal class HttpPostProtocolImporter : HttpProtocolImporter { public HttpPostProtocolImporter() : base(true) { } public override string ProtocolName { get { return "HttpPost"; } } internal override Type BaseClass { get { if (Style == ServiceDescriptionImportStyle.Client) { return typeof(HttpPostClientProtocol); } else { return typeof(WebService); } } } protected override bool IsBindingSupported() { HttpBinding httpBinding = (HttpBinding)Binding.Extensions.Find(typeof(HttpBinding)); if (httpBinding == null) return false; if (httpBinding.Verb != "POST") return false; return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FieldBuilder.cs
- ToolTipAutomationPeer.cs
- DependencySource.cs
- SignatureDescription.cs
- ProcessProtocolHandler.cs
- SizeAnimationClockResource.cs
- ProjectionNode.cs
- XmlDataSource.cs
- InputEventArgs.cs
- Span.cs
- EventDescriptor.cs
- DependencyPropertyKind.cs
- WebPartTransformerAttribute.cs
- _NetRes.cs
- cookiecontainer.cs
- FacetDescriptionElement.cs
- StoreAnnotationsMap.cs
- LiteralSubsegment.cs
- DifferencingCollection.cs
- TreeNodeCollection.cs
- TypeElement.cs
- SQLMoneyStorage.cs
- DynamicDataRouteHandler.cs
- ListItemDetailViewAttribute.cs
- StrokeCollection.cs
- WindowVisualStateTracker.cs
- UnsafeNativeMethods.cs
- BindingCompleteEventArgs.cs
- DelegateSerializationHolder.cs
- BooleanAnimationBase.cs
- ReliableMessagingVersionConverter.cs
- ListBindingConverter.cs
- SoapCommonClasses.cs
- _DomainName.cs
- X509UI.cs
- SqlMethodAttribute.cs
- WizardForm.cs
- PageCodeDomTreeGenerator.cs
- DocumentPageViewAutomationPeer.cs
- TextRangeEditTables.cs
- QueueAccessMode.cs
- AppLevelCompilationSectionCache.cs
- ComponentManagerBroker.cs
- TreeNodeBinding.cs
- TypeSource.cs
- ClrPerspective.cs
- SiteMap.cs
- ClientSettingsStore.cs
- TableLayoutSettingsTypeConverter.cs
- FontCollection.cs
- TransformGroup.cs
- StylusPoint.cs
- Evidence.cs
- SpotLight.cs
- basecomparevalidator.cs
- QilCloneVisitor.cs
- DataRelation.cs
- DiscardableAttribute.cs
- UserNameSecurityTokenProvider.cs
- SymbolType.cs
- Margins.cs
- RightNameExpirationInfoPair.cs
- MbpInfo.cs
- GeometryHitTestResult.cs
- LinkTarget.cs
- CodeParameterDeclarationExpressionCollection.cs
- DecimalConverter.cs
- SystemInformation.cs
- MultiTouchSystemGestureLogic.cs
- ParserContext.cs
- SQLMembershipProvider.cs
- CommandExpr.cs
- XmlDocumentSchema.cs
- RuntimeWrappedException.cs
- CatalogPartChrome.cs
- ValueTable.cs
- CompositeFontFamily.cs
- PropertyInfoSet.cs
- RangeBaseAutomationPeer.cs
- Panel.cs
- PageHandlerFactory.cs
- SoapSchemaMember.cs
- AssemblyHash.cs
- RequestTimeoutManager.cs
- HtmlInputText.cs
- ObjectRef.cs
- RoutedEventHandlerInfo.cs
- GuidelineSet.cs
- WindowsPen.cs
- ActivityBuilderXamlWriter.cs
- CryptoApi.cs
- InstanceCreationEditor.cs
- ColumnCollection.cs
- BooleanToVisibilityConverter.cs
- LifetimeServices.cs
- TypeNameConverter.cs
- AttributeAction.cs
- OrderedDictionary.cs
- SafeSecurityHelper.cs
- XmlDataSourceNodeDescriptor.cs