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
- HtmlFormWrapper.cs
- PrimaryKeyTypeConverter.cs
- DllNotFoundException.cs
- SwitchElementsCollection.cs
- MeshGeometry3D.cs
- RotateTransform.cs
- InteropAutomationProvider.cs
- GZipDecoder.cs
- PrePrepareMethodAttribute.cs
- PerformanceCounterPermission.cs
- OdbcConnectionPoolProviderInfo.cs
- XmlStreamedByteStreamReader.cs
- PropagatorResult.cs
- FileDialog_Vista_Interop.cs
- SqlClientWrapperSmiStream.cs
- HttpListener.cs
- OleDragDropHandler.cs
- SchemaTableColumn.cs
- CompositeTypefaceMetrics.cs
- ToolStripItemTextRenderEventArgs.cs
- DataServiceConfiguration.cs
- MaskDescriptor.cs
- ConnectivityStatus.cs
- GroupedContextMenuStrip.cs
- DefaultPropertyAttribute.cs
- InputLanguage.cs
- MarkupCompilePass2.cs
- AddInAdapter.cs
- ModelService.cs
- TextEditorCopyPaste.cs
- WorkflowDispatchContext.cs
- RuntimeTrackingProfile.cs
- ProvidersHelper.cs
- HttpFileCollectionBase.cs
- RoleServiceManager.cs
- ISAPIRuntime.cs
- TemplateBuilder.cs
- SoapIgnoreAttribute.cs
- ObfuscateAssemblyAttribute.cs
- CompositeKey.cs
- ActivityExecutorDelegateInfo.cs
- MetadataItemCollectionFactory.cs
- CodeTypeParameterCollection.cs
- CompressEmulationStream.cs
- WindowsToolbarItemAsMenuItem.cs
- DictionaryBase.cs
- XmlWellformedWriter.cs
- MessageBodyDescription.cs
- DiscardableAttribute.cs
- StringValidatorAttribute.cs
- baseaxisquery.cs
- panel.cs
- MetaModel.cs
- GregorianCalendar.cs
- MailAddressCollection.cs
- TabletDeviceInfo.cs
- COSERVERINFO.cs
- SmtpFailedRecipientsException.cs
- FormViewInsertEventArgs.cs
- ResXBuildProvider.cs
- ResourcePermissionBase.cs
- TypeLoadException.cs
- Aggregates.cs
- PeerName.cs
- _SSPISessionCache.cs
- SapiRecoInterop.cs
- ProgressBar.cs
- CompModSwitches.cs
- BaseValidatorDesigner.cs
- DataGridViewRowEventArgs.cs
- TreeNode.cs
- NonSerializedAttribute.cs
- LinqToSqlWrapper.cs
- MimePart.cs
- TemplateBamlRecordReader.cs
- UriTemplateEquivalenceComparer.cs
- ConfigurationManagerInternalFactory.cs
- COM2ComponentEditor.cs
- MediaScriptCommandRoutedEventArgs.cs
- SignatureDescription.cs
- ToolBarPanel.cs
- DbDeleteCommandTree.cs
- IdentityModelDictionary.cs
- EntityDesignerBuildProvider.cs
- FixedDocumentSequencePaginator.cs
- UpdateTracker.cs
- SafeNativeMethods.cs
- SchemaImporterExtensionElementCollection.cs
- Win32KeyboardDevice.cs
- ParentControlDesigner.cs
- AnnotationDocumentPaginator.cs
- Events.cs
- GeneralTransform3DGroup.cs
- PerfService.cs
- TemplateBamlRecordReader.cs
- AlgoModule.cs
- XmlSchemas.cs
- CheckPair.cs
- WeakReferenceList.cs
- GridItemCollection.cs