Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / SoapHeaderAttribute.cs / 1305376 / SoapHeaderAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System.Web.Services; using System.Xml.Serialization; using System; using System.Reflection; using System.Xml; using System.Collections; using System.IO; using System.ComponentModel; ////// /// [AttributeUsage(AttributeTargets.Method, AllowMultiple=true)] public sealed class SoapHeaderAttribute : System.Attribute { string memberName; SoapHeaderDirection direction = SoapHeaderDirection.In; bool required = true; ///[To be supplied.] ////// /// public SoapHeaderAttribute(string memberName) { this.memberName = memberName; } ///[To be supplied.] ////// /// public string MemberName { get { return memberName == null ? string.Empty : memberName; } set { memberName = value; } } ///[To be supplied.] ////// /// public SoapHeaderDirection Direction { get { return direction; } set { direction = value; } } ///[To be supplied.] ////// /// [Obsolete("This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced", false)] public bool Required { get { return required; } set { required = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System.Web.Services; using System.Xml.Serialization; using System; using System.Reflection; using System.Xml; using System.Collections; using System.IO; using System.ComponentModel; ////// /// [AttributeUsage(AttributeTargets.Method, AllowMultiple=true)] public sealed class SoapHeaderAttribute : System.Attribute { string memberName; SoapHeaderDirection direction = SoapHeaderDirection.In; bool required = true; ///[To be supplied.] ////// /// public SoapHeaderAttribute(string memberName) { this.memberName = memberName; } ///[To be supplied.] ////// /// public string MemberName { get { return memberName == null ? string.Empty : memberName; } set { memberName = value; } } ///[To be supplied.] ////// /// public SoapHeaderDirection Direction { get { return direction; } set { direction = value; } } ///[To be supplied.] ////// /// [Obsolete("This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced", false)] public bool Required { get { return required; } set { required = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContentType.cs
- DbCommandTree.cs
- LinkedResourceCollection.cs
- LoginDesigner.cs
- Options.cs
- Oid.cs
- LicenseContext.cs
- ObjectSecurityT.cs
- DetailsViewDeleteEventArgs.cs
- CodeAttributeDeclarationCollection.cs
- Color.cs
- OletxTransactionManager.cs
- PropertySegmentSerializationProvider.cs
- XmlWriterTraceListener.cs
- GlyphCache.cs
- WsatStrings.cs
- VisualBasicReference.cs
- TextViewBase.cs
- CreateUserErrorEventArgs.cs
- XPathEmptyIterator.cs
- IdlingCommunicationPool.cs
- BitmapEffectGroup.cs
- ExtendedPropertyDescriptor.cs
- OpacityConverter.cs
- ProfileService.cs
- autovalidator.cs
- FontUnitConverter.cs
- ImageIndexConverter.cs
- SqlParameter.cs
- MetadataPropertyvalue.cs
- SqlDataSourceStatusEventArgs.cs
- ListenerAdaptersInstallComponent.cs
- DataRecordObjectView.cs
- SplitterDesigner.cs
- MenuItem.cs
- DesignerListAdapter.cs
- Pen.cs
- RtfFormatStack.cs
- BuildManager.cs
- ZipArchive.cs
- RootBrowserWindowAutomationPeer.cs
- UnsafeNativeMethods.cs
- ByteAnimationBase.cs
- UInt32Converter.cs
- HttpListenerRequest.cs
- Selection.cs
- HostingEnvironmentSection.cs
- OutOfProcStateClientManager.cs
- TextComposition.cs
- TabPageDesigner.cs
- CompilerResults.cs
- GraphicsContainer.cs
- CodeIdentifier.cs
- COM2Properties.cs
- Conditional.cs
- Conditional.cs
- PageParser.cs
- TextEvent.cs
- WebServiceClientProxyGenerator.cs
- CollectionAdapters.cs
- HtmlShim.cs
- HttpHostedTransportConfiguration.cs
- TransformConverter.cs
- ProfessionalColors.cs
- FullTrustAssemblyCollection.cs
- WebPartCatalogAddVerb.cs
- _SslStream.cs
- EntityKeyElement.cs
- ComplusEndpointConfigContainer.cs
- ConfigXmlSignificantWhitespace.cs
- HwndSubclass.cs
- WebEventCodes.cs
- GridViewColumnCollection.cs
- StubHelpers.cs
- Int64Converter.cs
- TableDetailsCollection.cs
- RijndaelCryptoServiceProvider.cs
- ObjectRef.cs
- TemplateKey.cs
- Italic.cs
- LassoHelper.cs
- HebrewNumber.cs
- DataChangedEventManager.cs
- AutomationPatternInfo.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ImportOptions.cs
- GlyphRun.cs
- FormDocumentDesigner.cs
- Span.cs
- TemplateComponentConnector.cs
- TypeElement.cs
- StrongNameMembershipCondition.cs
- XmlSchemaElement.cs
- GregorianCalendarHelper.cs
- _WebProxyDataBuilder.cs
- ServiceReference.cs
- CommandBindingCollection.cs
- Calendar.cs
- SapiRecognizer.cs
- DesignerExtenders.cs