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
- CalendarBlackoutDatesCollection.cs
- OracleTimeSpan.cs
- SqlDataSourceCache.cs
- MediaContextNotificationWindow.cs
- DelegateBodyWriter.cs
- Int32Animation.cs
- DesignerAutoFormat.cs
- ErrorWebPart.cs
- XmlNamespaceDeclarationsAttribute.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- httpserverutility.cs
- SecurityContext.cs
- CodeCastExpression.cs
- DCSafeHandle.cs
- BoundsDrawingContextWalker.cs
- OpenTypeMethods.cs
- MouseButton.cs
- UnsafeNativeMethods.cs
- HttpListenerRequestUriBuilder.cs
- ExpandedWrapper.cs
- PropertyIDSet.cs
- CollectionCodeDomSerializer.cs
- SettingsSection.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Document.cs
- RawStylusActions.cs
- Win32MouseDevice.cs
- HwndStylusInputProvider.cs
- NetStream.cs
- RawStylusInputCustomData.cs
- InputScopeNameConverter.cs
- DropSource.cs
- SqlUtils.cs
- WebPartConnectionsCancelEventArgs.cs
- ChannelPoolSettingsElement.cs
- HtmlInputSubmit.cs
- MappingModelBuildProvider.cs
- CellConstantDomain.cs
- SymbolEqualComparer.cs
- XPathExpr.cs
- Pts.cs
- OptimalBreakSession.cs
- ComponentResourceKey.cs
- ConnectionPoint.cs
- PopupRootAutomationPeer.cs
- RuleSettingsCollection.cs
- MetadataItemEmitter.cs
- ModelItemCollectionImpl.cs
- BStrWrapper.cs
- TextDecorationCollectionConverter.cs
- ItemsPresenter.cs
- StringUtil.cs
- UndoUnit.cs
- HandlerFactoryWrapper.cs
- Effect.cs
- OdbcUtils.cs
- WorkItem.cs
- Properties.cs
- PropertyState.cs
- Cursor.cs
- PortCache.cs
- wmiutil.cs
- InvokeProviderWrapper.cs
- ToolStripOverflowButton.cs
- counter.cs
- FileDialog_Vista_Interop.cs
- MonitoringDescriptionAttribute.cs
- RecommendedAsConfigurableAttribute.cs
- FlowDocumentPaginator.cs
- RoleService.cs
- WebRequest.cs
- ApplicationManager.cs
- _ConnectionGroup.cs
- TemplateKeyConverter.cs
- RowTypeElement.cs
- TextBoxView.cs
- FrameworkTemplate.cs
- _ChunkParse.cs
- ToolStripContentPanelRenderEventArgs.cs
- EntityDataSourceSelectedEventArgs.cs
- CodeMemberEvent.cs
- SchemaCollectionPreprocessor.cs
- BitmapEffectOutputConnector.cs
- MemoryPressure.cs
- DataGridViewSortCompareEventArgs.cs
- CommunicationObjectManager.cs
- EventArgs.cs
- MSG.cs
- ReferencedCollectionType.cs
- LeaseManager.cs
- IndicCharClassifier.cs
- TextSelection.cs
- QuaternionIndependentAnimationStorage.cs
- ByteAnimationBase.cs
- GridViewItemAutomationPeer.cs
- DelegateSerializationHolder.cs
- DataViewListener.cs
- ParentUndoUnit.cs
- SBCSCodePageEncoding.cs
- CodeStatementCollection.cs