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
- CorrelationTokenTypeConvertor.cs
- OdbcConnection.cs
- PreloadedPackages.cs
- SmtpNegotiateAuthenticationModule.cs
- TraceListeners.cs
- FormParameter.cs
- ConsoleKeyInfo.cs
- CodeConditionStatement.cs
- ConsumerConnectionPointCollection.cs
- SessionIDManager.cs
- ListBoxItem.cs
- EntityDataSourceChangingEventArgs.cs
- NetTcpBindingElement.cs
- FloaterParaClient.cs
- XmlSchemaRedefine.cs
- MatchingStyle.cs
- BinaryParser.cs
- TileModeValidation.cs
- PingReply.cs
- DrawingAttributes.cs
- AccessDataSource.cs
- _ShellExpression.cs
- MatrixValueSerializer.cs
- TraceRecords.cs
- MsmqElementBase.cs
- SQLStringStorage.cs
- DetailsView.cs
- BoolExpression.cs
- FactorySettingsElement.cs
- RecordBuilder.cs
- MD5Cng.cs
- ConfigXmlSignificantWhitespace.cs
- DocumentXmlWriter.cs
- ConfigurationPropertyCollection.cs
- MetadataArtifactLoaderComposite.cs
- SQLMoneyStorage.cs
- HtmlTitle.cs
- DynamicValueConverter.cs
- DbMetaDataCollectionNames.cs
- ComponentCache.cs
- ExecutionScope.cs
- Matrix.cs
- DbgUtil.cs
- _HeaderInfo.cs
- UIHelper.cs
- EdmToObjectNamespaceMap.cs
- HTTPNotFoundHandler.cs
- DesignerCommandSet.cs
- CharEntityEncoderFallback.cs
- EditorPart.cs
- WindowsIPAddress.cs
- SerialStream.cs
- AuthenticationConfig.cs
- EventProviderWriter.cs
- StdRegProviderWrapper.cs
- BCryptNative.cs
- CodeRegionDirective.cs
- Options.cs
- DataObject.cs
- ObjectDataSource.cs
- WindowVisualStateTracker.cs
- FontFamily.cs
- WrapPanel.cs
- DecimalMinMaxAggregationOperator.cs
- DataBindingsDialog.cs
- SafeEventLogWriteHandle.cs
- DataRelationCollection.cs
- CipherData.cs
- XmlExpressionDumper.cs
- DbSetClause.cs
- BitmapEffectInputConnector.cs
- MessageCredentialType.cs
- EditorResources.cs
- TextLine.cs
- OleDbConnection.cs
- ServiceParser.cs
- BamlReader.cs
- XmlNodeList.cs
- RoutedEventArgs.cs
- RecordBuilder.cs
- StringWriter.cs
- AggregateNode.cs
- HttpResponseWrapper.cs
- ScrollViewer.cs
- FilteredXmlReader.cs
- MimePart.cs
- AutomationPatternInfo.cs
- ClientScriptItem.cs
- RepeatButton.cs
- MembershipPasswordException.cs
- ProxyWebPartManager.cs
- SafeLocalMemHandle.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- WebPartDisplayModeCollection.cs
- ProtectedProviderSettings.cs
- XmlSchemaComplexContent.cs
- RelationshipManager.cs
- ExceptionDetail.cs
- InsufficientMemoryException.cs
- BinaryWriter.cs