Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / MessageParameterAttribute.cs / 1 / MessageParameterAttribute.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel { using System; using System.ServiceModel.Channels; [AttributeUsage(ServiceModelAttributeTargets.Parameter, Inherited = false)] public sealed class MessageParameterAttribute : Attribute { string name; bool isNameSetExplicit; internal const string NamePropertyName = "Name"; public string Name { get { return name; } set { if (value == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("value"); } if (value == string.Empty) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", SR.GetString(SR.SFxNameCannotBeEmpty))); } name = value; isNameSetExplicit = true; } } internal bool IsNameSetExplicit { get { return isNameSetExplicit; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapReflectionImporter.cs
- SecurityChannelListener.cs
- DbQueryCommandTree.cs
- Inflater.cs
- ParenthesizePropertyNameAttribute.cs
- ArglessEventHandlerProxy.cs
- DataSourceHelper.cs
- QilExpression.cs
- OpenTypeCommon.cs
- Point4D.cs
- CaseExpr.cs
- BamlTreeNode.cs
- RelOps.cs
- MasterPageParser.cs
- ScrollPattern.cs
- TraceSection.cs
- TableCellAutomationPeer.cs
- OracleCommand.cs
- WebPermission.cs
- TemplateControl.cs
- PropertyMetadata.cs
- RSAPKCS1SignatureDeformatter.cs
- GradientStopCollection.cs
- CheckBox.cs
- StrokeRenderer.cs
- ToolStripItemClickedEventArgs.cs
- BitHelper.cs
- MarginsConverter.cs
- GacUtil.cs
- ConfigXmlWhitespace.cs
- XmlSchemaException.cs
- pingexception.cs
- ExpressionPrefixAttribute.cs
- mactripleDES.cs
- LoopExpression.cs
- SubpageParaClient.cs
- IconEditor.cs
- IisTraceWebEventProvider.cs
- MetricEntry.cs
- SerializationSectionGroup.cs
- DataListItemEventArgs.cs
- Padding.cs
- XmlDataSourceNodeDescriptor.cs
- GenericAuthenticationEventArgs.cs
- TrustManagerPromptUI.cs
- Internal.cs
- templategroup.cs
- Authorization.cs
- ToolStripPanelRenderEventArgs.cs
- SharedPersonalizationStateInfo.cs
- SrgsElement.cs
- LocatorGroup.cs
- EventTrigger.cs
- TemplateBindingExtensionConverter.cs
- CodeDomDesignerLoader.cs
- SaveWorkflowAsyncResult.cs
- PhoneCallDesigner.cs
- SoapFormatter.cs
- HttpResponse.cs
- PropertyGeneratedEventArgs.cs
- SqlStream.cs
- StructuredTypeInfo.cs
- CharAnimationBase.cs
- ScrollChrome.cs
- ClonableStack.cs
- RSACryptoServiceProvider.cs
- SamlAuthorizationDecisionClaimResource.cs
- ColumnReorderedEventArgs.cs
- TagPrefixInfo.cs
- MsmqInputMessage.cs
- Shared.cs
- WebPartEditorApplyVerb.cs
- WaitHandle.cs
- autovalidator.cs
- WebPartDescription.cs
- CodeSnippetExpression.cs
- ListViewItemEventArgs.cs
- GC.cs
- SupportsEventValidationAttribute.cs
- QuaternionAnimationBase.cs
- UnsafeNativeMethodsPenimc.cs
- EntityCollectionChangedParams.cs
- SystemIPv6InterfaceProperties.cs
- EmptyEnumerator.cs
- FontSource.cs
- GridViewHeaderRowPresenter.cs
- SortAction.cs
- SqlMethodTransformer.cs
- KnownColorTable.cs
- basecomparevalidator.cs
- ToolStripOverflowButton.cs
- ForEach.cs
- AudioStateChangedEventArgs.cs
- MembershipSection.cs
- OracleInternalConnection.cs
- UncommonField.cs
- SQLInt32Storage.cs
- StatusBarAutomationPeer.cs
- UnsafeNativeMethods.cs
- TabControl.cs