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
- UserNamePasswordValidator.cs
- AsymmetricSignatureFormatter.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- RuntimeConfig.cs
- DBAsyncResult.cs
- ItemCollection.cs
- ApplicationDirectoryMembershipCondition.cs
- EntityProviderServices.cs
- NamedPipeTransportSecurityElement.cs
- MenuItemCollection.cs
- WebPartConnectionsConfigureVerb.cs
- CommandPlan.cs
- DataSourceNameHandler.cs
- UnsafeNativeMethodsCLR.cs
- EncodingNLS.cs
- DragDrop.cs
- ListSortDescriptionCollection.cs
- TcpStreams.cs
- CompositeDispatchFormatter.cs
- XsltFunctions.cs
- MonitorWrapper.cs
- DrawingState.cs
- LinqDataSourceHelper.cs
- WindowsPen.cs
- ServiceNameElement.cs
- LayoutTableCell.cs
- LabelEditEvent.cs
- BCLDebug.cs
- WindowsListViewGroup.cs
- RemotingService.cs
- InvalidCommandTreeException.cs
- SoapWriter.cs
- RenderOptions.cs
- WebPartAuthorizationEventArgs.cs
- UriWriter.cs
- DataGridViewBand.cs
- CFStream.cs
- ConnectionManagementSection.cs
- Tokenizer.cs
- JumpItem.cs
- UInt16.cs
- Environment.cs
- XdrBuilder.cs
- TransmissionStrategy.cs
- SoapAttributeOverrides.cs
- GridSplitterAutomationPeer.cs
- ImagingCache.cs
- DateTimeValueSerializerContext.cs
- RoleService.cs
- ScheduleChanges.cs
- DebugHandleTracker.cs
- HtmlSelect.cs
- InputLanguageManager.cs
- Zone.cs
- Emitter.cs
- LazyTextWriterCreator.cs
- FixedHyperLink.cs
- RegexWorker.cs
- InstallHelper.cs
- DataRow.cs
- HttpCookiesSection.cs
- MultiBinding.cs
- UInt32Storage.cs
- ConfigurationValidatorBase.cs
- FontResourceCache.cs
- ListViewDataItem.cs
- WebDescriptionAttribute.cs
- ToolboxItem.cs
- ProcessHostConfigUtils.cs
- StatusStrip.cs
- SqlLiftWhereClauses.cs
- AnonymousIdentificationSection.cs
- TextClipboardData.cs
- RequiredFieldValidator.cs
- RestHandlerFactory.cs
- EditorServiceContext.cs
- HMACMD5.cs
- ConstructorExpr.cs
- BrushMappingModeValidation.cs
- ReturnEventArgs.cs
- CodeAccessPermission.cs
- ResourceCodeDomSerializer.cs
- ConfigurationProperty.cs
- FormViewInsertEventArgs.cs
- ListViewItem.cs
- ProfileSection.cs
- RoutedUICommand.cs
- SpoolingTaskBase.cs
- WindowsButton.cs
- XPathBinder.cs
- ADRole.cs
- ComNativeDescriptor.cs
- GetMemberBinder.cs
- SoapAttributes.cs
- FontCollection.cs
- CompilerTypeWithParams.cs
- MouseGestureValueSerializer.cs
- ModelUIElement3D.cs
- Paragraph.cs
- cookie.cs