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
- OrderablePartitioner.cs
- SevenBitStream.cs
- IncrementalCompileAnalyzer.cs
- SafeHandles.cs
- RuntimeConfigLKG.cs
- DataRowView.cs
- DocumentPageHost.cs
- SafeLocalMemHandle.cs
- RoleGroup.cs
- ExpressionBuilderCollection.cs
- DuplexClientBase.cs
- StrongNameKeyPair.cs
- EventListener.cs
- SuppressMessageAttribute.cs
- PenThreadPool.cs
- PrintPageEvent.cs
- AssemblyHash.cs
- WebEncodingValidator.cs
- Freezable.cs
- ClientSideProviderDescription.cs
- DifferencingCollection.cs
- CanExecuteRoutedEventArgs.cs
- FragmentQuery.cs
- UnsafeNativeMethods.cs
- DateTimeEditor.cs
- XpsDigitalSignature.cs
- ServiceModelConfigurationSectionCollection.cs
- UpdateExpressionVisitor.cs
- Attachment.cs
- CompilerGlobalScopeAttribute.cs
- ConfigPathUtility.cs
- FunctionCommandText.cs
- WebPartConnectionsConfigureVerb.cs
- EventLogTraceListener.cs
- WsatServiceCertificate.cs
- ComplexType.cs
- WebFaultClientMessageInspector.cs
- ModifiableIteratorCollection.cs
- BaseParaClient.cs
- Publisher.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ButtonBase.cs
- BuildProviderUtils.cs
- TemplateInstanceAttribute.cs
- ToRequest.cs
- CaretElement.cs
- TextTreeObjectNode.cs
- XmlEncoding.cs
- PreloadHost.cs
- AutoResetEvent.cs
- IndexerNameAttribute.cs
- SqlReorderer.cs
- SqlServer2KCompatibilityCheck.cs
- ActivityTypeResolver.xaml.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- GPRECTF.cs
- MenuItemBindingCollection.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- FormsAuthenticationCredentials.cs
- SiteMapProvider.cs
- BamlRecordReader.cs
- PolyLineSegment.cs
- BrushValueSerializer.cs
- MLangCodePageEncoding.cs
- CodeEventReferenceExpression.cs
- ListViewInsertedEventArgs.cs
- RegistrySecurity.cs
- ControlValuePropertyAttribute.cs
- RawAppCommandInputReport.cs
- LineSegment.cs
- ImageCodecInfoPrivate.cs
- SafeHandles.cs
- SiteMapProvider.cs
- DataServiceSaveChangesEventArgs.cs
- ConnectionsZone.cs
- AssociationSet.cs
- InkCanvas.cs
- SpecialTypeDataContract.cs
- QualificationDataItem.cs
- NumberAction.cs
- ImageFormatConverter.cs
- HttpPostProtocolReflector.cs
- EncryptedKey.cs
- FamilyCollection.cs
- Executor.cs
- DefaultBindingPropertyAttribute.cs
- CodeNamespaceCollection.cs
- _Rfc2616CacheValidators.cs
- Stroke.cs
- SQLMoneyStorage.cs
- Application.cs
- TextBox.cs
- ListViewInsertionMark.cs
- GridViewSortEventArgs.cs
- EndEvent.cs
- ContentElementAutomationPeer.cs
- CodeGeneratorOptions.cs
- EntityDataSourceState.cs
- BCryptSafeHandles.cs
- ObjectIDGenerator.cs