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
- QueryRewriter.cs
- AppSettingsExpressionBuilder.cs
- SqlStream.cs
- RemotingException.cs
- SoapHeader.cs
- TransactionFilter.cs
- RuleSettingsCollection.cs
- OrderedDictionary.cs
- TraceSwitch.cs
- InputMethodStateChangeEventArgs.cs
- ContentTextAutomationPeer.cs
- RequestCacheValidator.cs
- ImmutableAssemblyCacheEntry.cs
- WeakReferenceKey.cs
- WindowsAuthenticationEventArgs.cs
- SafePipeHandle.cs
- embossbitmapeffect.cs
- TimeSpanConverter.cs
- CodeObject.cs
- NoneExcludedImageIndexConverter.cs
- BulletChrome.cs
- IsolatedStorageFile.cs
- StreamMarshaler.cs
- querybuilder.cs
- TextStore.cs
- VisualBasicSettingsHandler.cs
- HwndHost.cs
- FixedNode.cs
- ForceCopyBuildProvider.cs
- DataServiceRequest.cs
- GeneratedCodeAttribute.cs
- ActivitySurrogateSelector.cs
- ColumnTypeConverter.cs
- NullEntityWrapper.cs
- MasterPageBuildProvider.cs
- EpmCustomContentWriterNodeData.cs
- BindableAttribute.cs
- AttachmentCollection.cs
- TraceListeners.cs
- TransformValueSerializer.cs
- KeyNotFoundException.cs
- ErrorStyle.cs
- CodeSnippetCompileUnit.cs
- Geometry.cs
- SiteMapProvider.cs
- BaseCAMarshaler.cs
- PickDesigner.xaml.cs
- RectValueSerializer.cs
- ListDictionaryInternal.cs
- GeneralTransform3DCollection.cs
- WebPartCatalogCloseVerb.cs
- DataGrid.cs
- PowerEase.cs
- FileNotFoundException.cs
- DataFormat.cs
- __Filters.cs
- WebEventCodes.cs
- XmlSchemaSet.cs
- GridProviderWrapper.cs
- FreezableCollection.cs
- Storyboard.cs
- AddingNewEventArgs.cs
- ConnectionStringSettings.cs
- TextChange.cs
- StringUtil.cs
- precedingquery.cs
- EnumerableCollectionView.cs
- WebPartRestoreVerb.cs
- ExpressionQuoter.cs
- SortableBindingList.cs
- FixedSchema.cs
- AssemblyHash.cs
- FormViewRow.cs
- FormattedTextSymbols.cs
- QueryContinueDragEventArgs.cs
- Evaluator.cs
- _AutoWebProxyScriptHelper.cs
- ConfigurationSettings.cs
- MimeImporter.cs
- PolicyUnit.cs
- UserNamePasswordValidator.cs
- Row.cs
- BatchParser.cs
- RoutedEventArgs.cs
- LocatorGroup.cs
- SoapElementAttribute.cs
- CellNormalizer.cs
- RightsManagementInformation.cs
- DoubleLink.cs
- ItemMap.cs
- Translator.cs
- MailMessage.cs
- SectionRecord.cs
- XamlInterfaces.cs
- XamlInt32CollectionSerializer.cs
- EffectiveValueEntry.cs
- CheckPair.cs
- Configuration.cs
- Main.cs
- SaveFileDialog.cs