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
- COSERVERINFO.cs
- StateWorkerRequest.cs
- WorkflowRuntimeServicesBehavior.cs
- UnknownMessageReceivedEventArgs.cs
- CopyCodeAction.cs
- CaseDesigner.xaml.cs
- Rotation3DKeyFrameCollection.cs
- TypeLibConverter.cs
- AxHostDesigner.cs
- shaperfactoryquerycachekey.cs
- PeerResolverElement.cs
- Assign.cs
- MappingSource.cs
- EditorPartCollection.cs
- EncoderParameter.cs
- Policy.cs
- BaseCollection.cs
- BlobPersonalizationState.cs
- SchemaElementDecl.cs
- AdjustableArrowCap.cs
- CreateUserWizardStep.cs
- Utils.cs
- WindowsGraphicsCacheManager.cs
- SourceFileBuildProvider.cs
- TimeStampChecker.cs
- Speller.cs
- DispatcherHooks.cs
- rsa.cs
- MonikerHelper.cs
- FixedPosition.cs
- CacheRequest.cs
- Application.cs
- GridViewDeleteEventArgs.cs
- RootCodeDomSerializer.cs
- EntityTypeEmitter.cs
- Animatable.cs
- KerberosReceiverSecurityToken.cs
- EntityDataSourceSelectingEventArgs.cs
- AttachedAnnotationChangedEventArgs.cs
- IdentityHolder.cs
- XmlCDATASection.cs
- BamlCollectionHolder.cs
- TransformConverter.cs
- ClusterRegistryConfigurationProvider.cs
- ParameterModifier.cs
- GetReadStreamResult.cs
- OutputScopeManager.cs
- PathGradientBrush.cs
- GacUtil.cs
- System.Data.OracleClient_BID.cs
- PngBitmapEncoder.cs
- CustomError.cs
- NamespaceInfo.cs
- MembershipSection.cs
- DbParameterHelper.cs
- Visitor.cs
- ServiceChannelManager.cs
- SafeHandle.cs
- Touch.cs
- SID.cs
- XslAstAnalyzer.cs
- XhtmlBasicPanelAdapter.cs
- HtmlImage.cs
- IPEndPoint.cs
- WebSysDisplayNameAttribute.cs
- FamilyMap.cs
- SelectedDatesCollection.cs
- XPathScanner.cs
- AuthenticatedStream.cs
- Size.cs
- GenericXmlSecurityToken.cs
- ItemTypeToolStripMenuItem.cs
- BmpBitmapDecoder.cs
- XmlDocumentSerializer.cs
- ExpandoClass.cs
- XmlSerializationGeneratedCode.cs
- TextEffectCollection.cs
- QilFunction.cs
- ImageCodecInfoPrivate.cs
- MemberInfoSerializationHolder.cs
- mactripleDES.cs
- CustomSignedXml.cs
- DataGridViewImageColumn.cs
- MissingMethodException.cs
- DLinqDataModelProvider.cs
- CaretElement.cs
- XmlAnyAttributeAttribute.cs
- MarshalDirectiveException.cs
- ViewValidator.cs
- StackBuilderSink.cs
- AuthenticationService.cs
- ResourceProviderFactory.cs
- PackageDigitalSignatureManager.cs
- LocalFileSettingsProvider.cs
- QueryCursorEventArgs.cs
- EndpointIdentity.cs
- CharUnicodeInfo.cs
- TypeUtil.cs
- PropertyEmitterBase.cs
- SBCSCodePageEncoding.cs