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
- CssClassPropertyAttribute.cs
- COM2IProvidePropertyBuilderHandler.cs
- GridViewDeleteEventArgs.cs
- KnownBoxes.cs
- CapacityStreamGeometryContext.cs
- CapiNative.cs
- BitStream.cs
- CloseSequenceResponse.cs
- PropertyMappingExceptionEventArgs.cs
- ImageAnimator.cs
- DataSourceHelper.cs
- XmlBuffer.cs
- MostlySingletonList.cs
- _ContextAwareResult.cs
- _SpnDictionary.cs
- X509Certificate2Collection.cs
- VersionedStreamOwner.cs
- RegionIterator.cs
- IERequestCache.cs
- TreeViewImageKeyConverter.cs
- XPathBinder.cs
- VideoDrawing.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- HandlerWithFactory.cs
- RawUIStateInputReport.cs
- HtmlInputButton.cs
- ConcurrentStack.cs
- BufferedGraphics.cs
- SqlCacheDependencySection.cs
- DateTimeValueSerializerContext.cs
- RepeaterCommandEventArgs.cs
- BinaryMethodMessage.cs
- ExpressionsCollectionEditor.cs
- Rijndael.cs
- BitmapFrame.cs
- SerializationEventsCache.cs
- __FastResourceComparer.cs
- DataGridViewUtilities.cs
- BlobPersonalizationState.cs
- IPAddressCollection.cs
- M3DUtil.cs
- AttributeData.cs
- SmtpDigestAuthenticationModule.cs
- StorageInfo.cs
- InputReferenceExpression.cs
- CompositeKey.cs
- SerializationException.cs
- DesignBindingConverter.cs
- DirectionalLight.cs
- Brush.cs
- ColumnResizeUndoUnit.cs
- BaseResourcesBuildProvider.cs
- ConfigurationManager.cs
- DiscoveryProxy.cs
- ConfigurationFileMap.cs
- EntityContainer.cs
- _SslStream.cs
- InternalConfirm.cs
- RawStylusInputCustomDataList.cs
- InputLangChangeRequestEvent.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- BrowsableAttribute.cs
- TogglePattern.cs
- LoadMessageLogger.cs
- RowToParametersTransformer.cs
- RequestCachePolicyConverter.cs
- WsdlParser.cs
- ItemType.cs
- ObfuscationAttribute.cs
- WasHttpHandlersInstallComponent.cs
- SqlReferenceCollection.cs
- RegexWriter.cs
- RenderDataDrawingContext.cs
- StructuralCache.cs
- LogConverter.cs
- SQLBytesStorage.cs
- ObjectReaderCompiler.cs
- SocketInformation.cs
- EntityChangedParams.cs
- UInt16Converter.cs
- DateTimeParse.cs
- ADMembershipProvider.cs
- XDRSchema.cs
- XmlSchemaComplexContent.cs
- PageCache.cs
- ArrayWithOffset.cs
- MasterPageBuildProvider.cs
- String.cs
- Action.cs
- ManagedIStream.cs
- MenuItemCollection.cs
- TextEditorSpelling.cs
- PolicyLevel.cs
- UrlAuthFailedErrorFormatter.cs
- ApplicationSecurityInfo.cs
- DesignerLoader.cs
- BitmapEncoder.cs
- DataGridPagerStyle.cs
- TreeNodeBinding.cs
- DocumentSchemaValidator.cs