Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Description / HttpGetProtocolImporter.cs / 1305376 / HttpGetProtocolImporter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System.Web.Services.Protocols; internal class HttpGetProtocolImporter : HttpProtocolImporter { public HttpGetProtocolImporter() : base(false) { } public override string ProtocolName { get { return "HttpGet"; } } internal override Type BaseClass { get { if (Style == ServiceDescriptionImportStyle.Client) { return typeof(HttpGetClientProtocol); } else { return typeof(WebService); } } } protected override bool IsBindingSupported() { HttpBinding httpBinding = (HttpBinding)Binding.Extensions.Find(typeof(HttpBinding)); if (httpBinding == null) return false; if (httpBinding.Verb != "GET") 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
- SqlIdentifier.cs
- ImageBrush.cs
- StorageBasedPackageProperties.cs
- SettingsPropertyCollection.cs
- TreeBuilder.cs
- DecoderFallback.cs
- QueryAccessibilityHelpEvent.cs
- TextPointer.cs
- MediaElementAutomationPeer.cs
- Brush.cs
- EventProviderWriter.cs
- AliasGenerator.cs
- CombinedTcpChannel.cs
- DefaultSection.cs
- EntryIndex.cs
- XmlHierarchyData.cs
- DropDownButton.cs
- BindValidationContext.cs
- HostedTcpTransportManager.cs
- BamlBinaryReader.cs
- ElementAction.cs
- ChangePassword.cs
- AuthorizationRuleCollection.cs
- ClassDataContract.cs
- LocalBuilder.cs
- ContentPresenter.cs
- TreeNodeBindingDepthConverter.cs
- SByte.cs
- ThemeableAttribute.cs
- AuthenticationSection.cs
- ClientFormsIdentity.cs
- FilterableAttribute.cs
- KeyInterop.cs
- followingquery.cs
- SuppressMergeCheckAttribute.cs
- FloaterBaseParaClient.cs
- KerberosRequestorSecurityToken.cs
- MtomMessageEncodingElement.cs
- EventLogTraceListener.cs
- SchemaElementLookUpTable.cs
- DefaultTraceListener.cs
- ElementMarkupObject.cs
- RectangleF.cs
- BuildProviderCollection.cs
- StatusBar.cs
- ContractAdapter.cs
- WebPartCloseVerb.cs
- SetStateDesigner.cs
- SystemTcpStatistics.cs
- SoapTypeAttribute.cs
- TextEditorCharacters.cs
- KnownIds.cs
- HtmlGenericControl.cs
- AccessKeyManager.cs
- SelectionEditor.cs
- Normalization.cs
- WsatTransactionFormatter.cs
- FloaterParagraph.cs
- dbdatarecord.cs
- ToolStripGripRenderEventArgs.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TransformCollection.cs
- DataGridViewLinkColumn.cs
- FastPropertyAccessor.cs
- TextServicesLoader.cs
- SerializationFieldInfo.cs
- FSWPathEditor.cs
- WindowsListViewScroll.cs
- DeviceContext2.cs
- ListBox.cs
- CommandDevice.cs
- StyleSheetComponentEditor.cs
- DateTimeUtil.cs
- GetPageCompletedEventArgs.cs
- keycontainerpermission.cs
- TablePatternIdentifiers.cs
- MSAANativeProvider.cs
- HttpListenerPrefixCollection.cs
- StandardMenuStripVerb.cs
- AsyncPostBackTrigger.cs
- StoreContentChangedEventArgs.cs
- ButtonBase.cs
- AttributeCollection.cs
- MsmqChannelListenerBase.cs
- ResolveNameEventArgs.cs
- OdbcStatementHandle.cs
- SafeCryptContextHandle.cs
- Operator.cs
- TimeoutValidationAttribute.cs
- GlobalDataBindingHandler.cs
- PropertyGeneratedEventArgs.cs
- localization.cs
- ProfilePropertySettings.cs
- TransformerInfo.cs
- MonthCalendar.cs
- _ProxyRegBlob.cs
- FixedPage.cs
- translator.cs
- SafeHandles.cs
- ImmComposition.cs