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
- ServerValidateEventArgs.cs
- Normalization.cs
- MediaElement.cs
- PanningMessageFilter.cs
- UserControlFileEditor.cs
- ObjectIDGenerator.cs
- ProxyAttribute.cs
- DbgCompiler.cs
- TCPClient.cs
- NamedPipeWorkerProcess.cs
- DesignDataSource.cs
- DataGridViewBand.cs
- MouseGesture.cs
- WhitespaceRuleReader.cs
- XmlEncoding.cs
- TypeDescriptor.cs
- Win32SafeHandles.cs
- MatrixAnimationUsingKeyFrames.cs
- TextureBrush.cs
- DBCSCodePageEncoding.cs
- WebPartVerbsEventArgs.cs
- HtmlFormWrapper.cs
- UshortList2.cs
- CodeTryCatchFinallyStatement.cs
- PropertyEmitter.cs
- safemediahandle.cs
- UnmanagedHandle.cs
- FormViewInsertEventArgs.cs
- OdbcHandle.cs
- HtmlImage.cs
- DataGridCellAutomationPeer.cs
- loginstatus.cs
- TypedTableBase.cs
- SqlNodeTypeOperators.cs
- ReflectionUtil.cs
- CellNormalizer.cs
- AspNetCompatibilityRequirementsMode.cs
- ListChunk.cs
- NamedPermissionSet.cs
- TypeSource.cs
- GlyphRun.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RegexCapture.cs
- Directory.cs
- SmiSettersStream.cs
- ExtendedProperty.cs
- InputLanguageCollection.cs
- SponsorHelper.cs
- ItemChangedEventArgs.cs
- ManifestBasedResourceGroveler.cs
- InvokeBase.cs
- ItemsPanelTemplate.cs
- SoapEnumAttribute.cs
- IndividualDeviceConfig.cs
- Package.cs
- TextTreeInsertUndoUnit.cs
- CodeDomLoader.cs
- SinglePageViewer.cs
- NameValueSectionHandler.cs
- SoapIncludeAttribute.cs
- PathTooLongException.cs
- XmlTextReaderImpl.cs
- PreviousTrackingServiceAttribute.cs
- CriticalHandle.cs
- DirectionalLight.cs
- BigInt.cs
- JavaScriptSerializer.cs
- ImageCodecInfoPrivate.cs
- RelationshipEndMember.cs
- XmlSignificantWhitespace.cs
- Decoder.cs
- InternalBufferOverflowException.cs
- SystemIcmpV4Statistics.cs
- ApplicationSettingsBase.cs
- RepeatInfo.cs
- BaseCAMarshaler.cs
- ExtensionWindowHeader.cs
- SqlReferenceCollection.cs
- DataBoundControlHelper.cs
- HttpCapabilitiesSectionHandler.cs
- SaveWorkflowCommand.cs
- StringUtil.cs
- CustomErrorCollection.cs
- Opcode.cs
- SqlRemoveConstantOrderBy.cs
- TextBreakpoint.cs
- WindowsServiceCredential.cs
- ComplexPropertyEntry.cs
- MainMenu.cs
- BitmapEffectRenderDataResource.cs
- ProfileGroupSettings.cs
- PropertyChangedEventManager.cs
- ListItemParagraph.cs
- PersonalizationAdministration.cs
- StackSpiller.Bindings.cs
- DataGridViewImageCell.cs
- HostedNamedPipeTransportManager.cs
- MachineKeySection.cs
- Panel.cs
- SHA384.cs