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
- SchemaElementDecl.cs
- DataGridViewSelectedColumnCollection.cs
- SpoolingTaskBase.cs
- WindowsBrush.cs
- Size.cs
- HttpWebRequestElement.cs
- messageonlyhwndwrapper.cs
- OptimizerPatterns.cs
- ReturnType.cs
- OuterProxyWrapper.cs
- TreeNode.cs
- DriveNotFoundException.cs
- InvokeProviderWrapper.cs
- RoutedCommand.cs
- DefaultAuthorizationContext.cs
- NavigationFailedEventArgs.cs
- VectorConverter.cs
- ObjectReaderCompiler.cs
- PnrpPeerResolver.cs
- TimeManager.cs
- TimeSpanMinutesConverter.cs
- VirtualPathProvider.cs
- SqlRetyper.cs
- ObjectViewQueryResultData.cs
- KeyGesture.cs
- ProcessModuleCollection.cs
- Error.cs
- BitmapEffectInput.cs
- ApplicationManager.cs
- LinkClickEvent.cs
- TcpServerChannel.cs
- LicFileLicenseProvider.cs
- DataGridBoolColumn.cs
- DocumentViewer.cs
- MaterialCollection.cs
- UIElementHelper.cs
- Automation.cs
- PropertyFilterAttribute.cs
- XmlUtilWriter.cs
- ProxyHelper.cs
- WindowProviderWrapper.cs
- BoundColumn.cs
- EntityContainer.cs
- DockPanel.cs
- MergePropertyDescriptor.cs
- RoutedEventHandlerInfo.cs
- serverconfig.cs
- SwitchElementsCollection.cs
- HandleValueEditor.cs
- ProfilePropertyNameValidator.cs
- SizeConverter.cs
- Literal.cs
- HttpClientCertificate.cs
- RelationshipEndCollection.cs
- DataColumnSelectionConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- AutomationElementCollection.cs
- InkSerializer.cs
- InvalidateEvent.cs
- ExpressionBuilderCollection.cs
- XmlNodeWriter.cs
- DataGridRelationshipRow.cs
- TableRowCollection.cs
- SourceSwitch.cs
- CodeObjectCreateExpression.cs
- DesignerOptions.cs
- ResolveRequestResponseAsyncResult.cs
- SchemaSetCompiler.cs
- PassportAuthenticationModule.cs
- SettingsSavedEventArgs.cs
- UserPersonalizationStateInfo.cs
- ValidationSummary.cs
- Path.cs
- ReachDocumentReferenceSerializerAsync.cs
- ManagementOptions.cs
- ObjectHandle.cs
- FileDialog_Vista_Interop.cs
- TableLayout.cs
- _FtpDataStream.cs
- BufferedWebEventProvider.cs
- VirtualDirectoryMappingCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- SqlDataSourceView.cs
- ProtocolInformationReader.cs
- ReadOnlyDataSourceView.cs
- ToolBar.cs
- RectangleGeometry.cs
- MetadataHelper.cs
- DesignOnlyAttribute.cs
- RecognizeCompletedEventArgs.cs
- Pen.cs
- URLMembershipCondition.cs
- SR.Designer.cs
- StatusBarDrawItemEvent.cs
- HttpCachePolicyElement.cs
- WebPartMovingEventArgs.cs
- TreeSet.cs
- ArrayList.cs
- DiscreteKeyFrames.cs
- WindowsHyperlink.cs