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
- NestedContainer.cs
- HeaderElement.cs
- TemplateApplicationHelper.cs
- Converter.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- EncodingInfo.cs
- NegotiateStream.cs
- RelatedEnd.cs
- NonSerializedAttribute.cs
- WebPartDescription.cs
- COM2Properties.cs
- ObjectStateManagerMetadata.cs
- PageAsyncTask.cs
- MimeAnyImporter.cs
- CustomWebEventKey.cs
- TextEffect.cs
- ApplicationInterop.cs
- SqlHelper.cs
- Inflater.cs
- DockProviderWrapper.cs
- SimpleExpression.cs
- assemblycache.cs
- ParagraphResult.cs
- MetadataProperty.cs
- ThreadStartException.cs
- DelayedRegex.cs
- DefaultObjectSerializer.cs
- DbConnectionPool.cs
- UnsafePeerToPeerMethods.cs
- HostingEnvironmentException.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- Random.cs
- CheckBoxFlatAdapter.cs
- PropertyMetadata.cs
- ExcludeFromCodeCoverageAttribute.cs
- DataGridViewComboBoxEditingControl.cs
- ToolStripControlHost.cs
- Version.cs
- DefaultAssemblyResolver.cs
- ACL.cs
- ValidationEventArgs.cs
- GlyphShapingProperties.cs
- DataGridViewComboBoxCell.cs
- InputBindingCollection.cs
- QilParameter.cs
- AstTree.cs
- sitestring.cs
- ActivitySurrogate.cs
- NumericPagerField.cs
- RequestCacheValidator.cs
- FormatStringEditor.cs
- TypeRefElement.cs
- documentation.cs
- OutputCacheSection.cs
- RoutedEventValueSerializer.cs
- UIElement3D.cs
- ScriptControlDescriptor.cs
- PasswordTextContainer.cs
- FileDialogPermission.cs
- ProfilePropertySettings.cs
- TemplateBindingExtensionConverter.cs
- FormViewPagerRow.cs
- WebBrowser.cs
- SplashScreen.cs
- StartUpEventArgs.cs
- MessageDecoder.cs
- SoapMessage.cs
- DatePicker.cs
- ConnectionProviderAttribute.cs
- PeerNameRecord.cs
- ParameterElement.cs
- TraceHandler.cs
- BinaryWriter.cs
- BitmapEffectInput.cs
- DataErrorValidationRule.cs
- SatelliteContractVersionAttribute.cs
- Int16KeyFrameCollection.cs
- MetadataCacheItem.cs
- HtmlInputControl.cs
- VirtualPath.cs
- HashAlgorithm.cs
- UnsafeNativeMethods.cs
- UnauthorizedAccessException.cs
- HttpRequestCacheValidator.cs
- GenericEnumConverter.cs
- ExtractCollection.cs
- ButtonPopupAdapter.cs
- FocusChangedEventArgs.cs
- DataGridViewToolTip.cs
- XmlSchemaException.cs
- DeploymentSection.cs
- mactripleDES.cs
- ToolStripItemRenderEventArgs.cs
- DataGridSortingEventArgs.cs
- RewritingProcessor.cs
- TableHeaderCell.cs
- SerializerProvider.cs
- RelationHandler.cs
- TimeoutHelper.cs
- Int64Converter.cs