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
- Italic.cs
- SchemaElementDecl.cs
- OutputCacheProfileCollection.cs
- _BufferOffsetSize.cs
- FixedSOMContainer.cs
- ServiceDesigner.cs
- DelimitedListTraceListener.cs
- Size3DValueSerializer.cs
- Console.cs
- CategoryNameCollection.cs
- SettingsPropertyValue.cs
- entityreference_tresulttype.cs
- PerCallInstanceContextProvider.cs
- AssemblySettingAttributes.cs
- OletxResourceManager.cs
- ContextBase.cs
- TaskbarItemInfo.cs
- FormsAuthentication.cs
- Splitter.cs
- RsaKeyIdentifierClause.cs
- MemoryRecordBuffer.cs
- MultiSelectRootGridEntry.cs
- LongMinMaxAggregationOperator.cs
- RadioButtonList.cs
- EventLogger.cs
- XmlResolver.cs
- TableLayoutStyle.cs
- QilIterator.cs
- ObjectStateManagerMetadata.cs
- xsdvalidator.cs
- AuthStoreRoleProvider.cs
- SortQuery.cs
- SqlFlattener.cs
- PowerStatus.cs
- SamlAuthorizationDecisionStatement.cs
- CalendarKeyboardHelper.cs
- CalculatedColumn.cs
- ACE.cs
- SHA384.cs
- ComplexTypeEmitter.cs
- InfiniteIntConverter.cs
- ConditionalExpression.cs
- PlanCompiler.cs
- ProfileService.cs
- StrokeCollection.cs
- ColorAnimation.cs
- ActivityStatusChangeEventArgs.cs
- CodeDirectionExpression.cs
- XPathBinder.cs
- CleanUpVirtualizedItemEventArgs.cs
- CodeChecksumPragma.cs
- ColumnClickEvent.cs
- ContextDataSourceContextData.cs
- SqlRewriteScalarSubqueries.cs
- Converter.cs
- GlobalProxySelection.cs
- ToggleProviderWrapper.cs
- IriParsingElement.cs
- CustomErrorsSection.cs
- ThrowHelper.cs
- BooleanConverter.cs
- DateTimeFormat.cs
- RoleManagerSection.cs
- Int16Animation.cs
- StrongNameSignatureInformation.cs
- TemplateManager.cs
- HtmlInputCheckBox.cs
- TrackingStringDictionary.cs
- XmlWhitespace.cs
- RegexCapture.cs
- CodeMemberField.cs
- DataSourceSelectArguments.cs
- SpeechUI.cs
- InheritanceContextHelper.cs
- PeerCollaboration.cs
- SiteMembershipCondition.cs
- WSSecurityPolicy.cs
- infer.cs
- InputGestureCollection.cs
- ControlUtil.cs
- WindowInteropHelper.cs
- Tile.cs
- XsltConvert.cs
- TextOutput.cs
- GridViewDesigner.cs
- GridSplitterAutomationPeer.cs
- BuildProvider.cs
- Transactions.cs
- PropertyPath.cs
- HtmlInputText.cs
- SelectionList.cs
- ObjectPropertyMapping.cs
- PartialTrustValidationBehavior.cs
- PersonalizationStateInfoCollection.cs
- XmlComplianceUtil.cs
- AttributeAction.cs
- UserMapPath.cs
- MergeFilterQuery.cs
- ApplicationActivator.cs
- PtsHost.cs