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
- Int64AnimationBase.cs
- ParseElement.cs
- prompt.cs
- DataGridViewCellPaintingEventArgs.cs
- UserNameSecurityTokenProvider.cs
- SafeRightsManagementQueryHandle.cs
- JavaScriptObjectDeserializer.cs
- SymbolMethod.cs
- ConstructorNeedsTagAttribute.cs
- DispatcherObject.cs
- ZipArchive.cs
- MetadataStore.cs
- ShutDownListener.cs
- NamedPipeHostedTransportConfiguration.cs
- XdrBuilder.cs
- XPathItem.cs
- Bezier.cs
- ItemDragEvent.cs
- CompositeActivityDesigner.cs
- QueryConverter.cs
- Rules.cs
- x509store.cs
- MappingItemCollection.cs
- CloudCollection.cs
- DetailsView.cs
- ConditionCollection.cs
- AuthStoreRoleProvider.cs
- RankException.cs
- CodeMemberEvent.cs
- CodeTypeDeclaration.cs
- HttpPostedFile.cs
- ListDictionaryInternal.cs
- TemplateColumn.cs
- SmiTypedGetterSetter.cs
- StaticSiteMapProvider.cs
- DataControlImageButton.cs
- ImageMapEventArgs.cs
- DragCompletedEventArgs.cs
- Binding.cs
- BooleanExpr.cs
- TypeReference.cs
- TraceHandler.cs
- XmlSchemaExporter.cs
- WindowsFont.cs
- CatalogPartChrome.cs
- EntityContainerRelationshipSet.cs
- ValidatorCollection.cs
- LineServices.cs
- EntryPointNotFoundException.cs
- WebBrowserEvent.cs
- HttpModulesSection.cs
- TableLayoutCellPaintEventArgs.cs
- PerspectiveCamera.cs
- ConfigurationSectionGroupCollection.cs
- RoleService.cs
- GenericEnumConverter.cs
- SettingsPropertyCollection.cs
- ClickablePoint.cs
- WindowsListViewGroupHelper.cs
- SQLInt32Storage.cs
- Timeline.cs
- FlowDocumentScrollViewer.cs
- BinHexDecoder.cs
- DetailsViewDesigner.cs
- ThreadInterruptedException.cs
- Focus.cs
- DependencySource.cs
- MutexSecurity.cs
- TemplateApplicationHelper.cs
- SqlCacheDependencySection.cs
- HttpRuntime.cs
- ViewPort3D.cs
- ToolStripContentPanelDesigner.cs
- FixedFindEngine.cs
- ClientSession.cs
- InputBuffer.cs
- KnownAssembliesSet.cs
- OdbcFactory.cs
- MailAddressCollection.cs
- DesignTimeParseData.cs
- ReaderWriterLock.cs
- SqlNamer.cs
- Msec.cs
- SubMenuStyleCollection.cs
- UIElement.cs
- SoapSchemaMember.cs
- TemplatedAdorner.cs
- PreloadedPackages.cs
- HttpCapabilitiesSectionHandler.cs
- GrammarBuilderWildcard.cs
- ControlIdConverter.cs
- WebConfigurationHost.cs
- IPipelineRuntime.cs
- Rectangle.cs
- MasterPageCodeDomTreeGenerator.cs
- ConfigXmlDocument.cs
- RMPublishingDialog.cs
- DataObjectEventArgs.cs
- GeneralTransformCollection.cs
- xml.cs