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
- FormParameter.cs
- AsyncCallback.cs
- ThicknessAnimation.cs
- QuadraticBezierSegment.cs
- ExceptionValidationRule.cs
- NumberFormatter.cs
- TextRange.cs
- _NestedSingleAsyncResult.cs
- ProtectedConfigurationSection.cs
- BindingListCollectionView.cs
- SqlExpander.cs
- ECDiffieHellmanPublicKey.cs
- DesignerVerb.cs
- ThaiBuddhistCalendar.cs
- Rectangle.cs
- SqlHelper.cs
- shaperfactoryquerycachekey.cs
- MessagePartDescriptionCollection.cs
- ADConnectionHelper.cs
- ImageEditor.cs
- BasicExpressionVisitor.cs
- AssociationProvider.cs
- AppDomainProtocolHandler.cs
- CallbackException.cs
- InputScopeManager.cs
- SystemBrushes.cs
- _UncName.cs
- UndoUnit.cs
- MetadataCache.cs
- Sequence.cs
- AttributeXamlType.cs
- SelectionItemProviderWrapper.cs
- GuidConverter.cs
- UrlPath.cs
- MultiSelectRootGridEntry.cs
- ByteStreamBufferedMessageData.cs
- OdbcConnectionFactory.cs
- DataGridToolTip.cs
- LocalizedNameDescriptionPair.cs
- FormsAuthenticationUserCollection.cs
- Select.cs
- TimeStampChecker.cs
- TextEffect.cs
- ListControl.cs
- AxHost.cs
- GridViewRowEventArgs.cs
- HostVisual.cs
- ResourceReader.cs
- AsymmetricSignatureDeformatter.cs
- Calendar.cs
- configsystem.cs
- FileUtil.cs
- ScrollViewer.cs
- XmlAutoDetectWriter.cs
- PathStreamGeometryContext.cs
- SqlRemoveConstantOrderBy.cs
- UnwrappedTypesXmlSerializerManager.cs
- MultiByteCodec.cs
- WebColorConverter.cs
- BamlResourceDeserializer.cs
- DateTimeOffset.cs
- AttributedMetaModel.cs
- RadioButton.cs
- CapacityStreamGeometryContext.cs
- PersonalizationAdministration.cs
- InvalidCastException.cs
- XmlSchemaAnyAttribute.cs
- CommonObjectSecurity.cs
- TextTrailingCharacterEllipsis.cs
- AbsoluteQuery.cs
- ConcurrentStack.cs
- DataSetFieldSchema.cs
- XmlHelper.cs
- CertificateElement.cs
- ReadOnlyDataSource.cs
- CodeDelegateInvokeExpression.cs
- TimeIntervalCollection.cs
- Util.cs
- PropertyHelper.cs
- SystemColors.cs
- pingexception.cs
- WriteableBitmap.cs
- ToolStripItemTextRenderEventArgs.cs
- FunctionDescription.cs
- FontWeight.cs
- FormatterConverter.cs
- XmlUtilWriter.cs
- XamlSerializationHelper.cs
- SystemIcons.cs
- WorkflowApplicationAbortedEventArgs.cs
- EnumMemberAttribute.cs
- RemotingConfiguration.cs
- TableDetailsRow.cs
- DocumentXmlWriter.cs
- PropertyNames.cs
- StaticDataManager.cs
- LongPath.cs
- Asn1Utilities.cs
- ProxyManager.cs
- OdbcRowUpdatingEvent.cs