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
- ThreadInterruptedException.cs
- GraphicsPathIterator.cs
- PagePropertiesChangingEventArgs.cs
- BufferModeSettings.cs
- QueryPageSettingsEventArgs.cs
- WhitespaceRuleReader.cs
- ToolStripPanelCell.cs
- MULTI_QI.cs
- PtsHelper.cs
- BooleanConverter.cs
- CheckoutException.cs
- CodeMethodReturnStatement.cs
- TableProvider.cs
- ConnectorDragDropGlyph.cs
- VisualBrush.cs
- ResXResourceReader.cs
- Avt.cs
- XPathDocument.cs
- WorkflowMessageEventArgs.cs
- AnnotationAdorner.cs
- NativeMethods.cs
- XmlSchemaGroupRef.cs
- CompressStream.cs
- _CommandStream.cs
- ImportCatalogPart.cs
- GPStream.cs
- InternalResources.cs
- TreeSet.cs
- AppearanceEditorPart.cs
- DataSourceCache.cs
- MergeFilterQuery.cs
- LinqDataSourceDisposeEventArgs.cs
- ThicknessConverter.cs
- LineServices.cs
- EntityProviderFactory.cs
- QilLoop.cs
- ClientTargetCollection.cs
- HttpListenerElement.cs
- SqlConnectionStringBuilder.cs
- OleDbErrorCollection.cs
- BitVec.cs
- WindowsHyperlink.cs
- LockCookie.cs
- ColorConvertedBitmapExtension.cs
- IsolatedStorageException.cs
- SingleTagSectionHandler.cs
- SHA256.cs
- StateDesigner.LayoutSelectionGlyph.cs
- ButtonField.cs
- MarkupCompiler.cs
- ProgressiveCrcCalculatingStream.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- PixelFormatConverter.cs
- Msec.cs
- AdornerDecorator.cs
- MenuAdapter.cs
- XmlComment.cs
- RotationValidation.cs
- FlagsAttribute.cs
- RouteValueDictionary.cs
- SafePointer.cs
- StateMachineTimers.cs
- TextBox.cs
- DeploymentSectionCache.cs
- TrayIconDesigner.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- SoapCommonClasses.cs
- IntranetCredentialPolicy.cs
- HwndHostAutomationPeer.cs
- PersistencePipeline.cs
- BatchParser.cs
- ObfuscationAttribute.cs
- XmlAnyElementAttribute.cs
- HttpRequestCacheValidator.cs
- GridViewPageEventArgs.cs
- SerializationEventsCache.cs
- ParagraphVisual.cs
- XmlStrings.cs
- HttpCookiesSection.cs
- WpfXamlType.cs
- ConvertTextFrag.cs
- Part.cs
- SQLDecimalStorage.cs
- XmlArrayItemAttribute.cs
- SafeBitVector32.cs
- ContractMethodInfo.cs
- ContentOperations.cs
- Ops.cs
- TreeViewImageIndexConverter.cs
- StylusPointProperties.cs
- MailSettingsSection.cs
- UiaCoreProviderApi.cs
- EventProvider.cs
- DesignerVerbCollection.cs
- EtwTrace.cs
- TiffBitmapEncoder.cs
- OracleBoolean.cs
- TrustManagerMoreInformation.cs
- TimeSpan.cs
- DBConcurrencyException.cs