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
- DefaultAsyncDataDispatcher.cs
- ProfileSettingsCollection.cs
- DataBoundControlHelper.cs
- PkcsUtils.cs
- MetadataItemEmitter.cs
- ActivityCollectionMarkupSerializer.cs
- ResourceDescriptionAttribute.cs
- X509PeerCertificateAuthentication.cs
- PhysicalOps.cs
- ReadWriteSpinLock.cs
- InputGestureCollection.cs
- KeyGesture.cs
- ContentPlaceHolder.cs
- InstanceContext.cs
- Substitution.cs
- ParentControlDesigner.cs
- AnnotationHighlightLayer.cs
- EntityClientCacheEntry.cs
- ScrollContentPresenter.cs
- DataGridViewCellParsingEventArgs.cs
- XmlSchemaDatatype.cs
- CodeTypeParameter.cs
- TokenBasedSet.cs
- FontStretches.cs
- DocumentSequenceHighlightLayer.cs
- FormatException.cs
- TableItemStyle.cs
- FontCacheUtil.cs
- XmlNotation.cs
- OneOfTypeConst.cs
- XmlWrappingReader.cs
- InkCanvasSelectionAdorner.cs
- HttpHandlerActionCollection.cs
- DependencyPropertyKey.cs
- SqlDataReaderSmi.cs
- Page.cs
- InternalPolicyElement.cs
- ApplicationSecurityInfo.cs
- CheckedPointers.cs
- GacUtil.cs
- BinarySerializer.cs
- IconEditor.cs
- InstanceDescriptor.cs
- ReadOnlyPropertyMetadata.cs
- SiblingIterators.cs
- CustomWebEventKey.cs
- GridViewRowPresenter.cs
- DataColumnCollection.cs
- BamlBinaryWriter.cs
- FixedDocumentPaginator.cs
- NominalTypeEliminator.cs
- StateRuntime.cs
- RemotingException.cs
- PasswordRecoveryAutoFormat.cs
- DateTimeUtil.cs
- TableLayoutPanelCodeDomSerializer.cs
- SystemParameters.cs
- ResourceContainerWrapper.cs
- DataException.cs
- DataColumnSelectionConverter.cs
- Point4DConverter.cs
- CreateUserWizard.cs
- DashStyle.cs
- ProgressChangedEventArgs.cs
- XsdBuildProvider.cs
- Int64AnimationBase.cs
- CharacterString.cs
- HtmlElementCollection.cs
- Parser.cs
- ConfigXmlElement.cs
- GridViewDesigner.cs
- ProfileService.cs
- DispatcherFrame.cs
- ResourceAttributes.cs
- ContentPlaceHolder.cs
- ClientTarget.cs
- WebPartCollection.cs
- ActiveDocumentEvent.cs
- rsa.cs
- TextView.cs
- ButtonChrome.cs
- BehaviorDragDropEventArgs.cs
- ListViewGroupItemCollection.cs
- TextBox.cs
- RepeaterItem.cs
- DataGridViewLinkCell.cs
- SHA1Managed.cs
- SecurityDocument.cs
- LinkLabelLinkClickedEvent.cs
- FixedSOMFixedBlock.cs
- XmlSchemaFacet.cs
- Button.cs
- FilteredDataSetHelper.cs
- WebPartVerbCollection.cs
- SafeFileMappingHandle.cs
- AppDomain.cs
- HebrewCalendar.cs
- TreeViewImageIndexConverter.cs
- ModelTypeConverter.cs
- Missing.cs