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
- InputLangChangeRequestEvent.cs
- CodeLinePragma.cs
- PageThemeCodeDomTreeGenerator.cs
- SingleTagSectionHandler.cs
- Funcletizer.cs
- LinkDesigner.cs
- GridViewUpdatedEventArgs.cs
- Propagator.Evaluator.cs
- ConfigurationManager.cs
- AssertFilter.cs
- VisualTreeUtils.cs
- TimeSpanParse.cs
- DispatcherSynchronizationContext.cs
- TypedAsyncResult.cs
- DirectoryLocalQuery.cs
- XmlSequenceWriter.cs
- Duration.cs
- ClientConfigPaths.cs
- ItemsControlAutomationPeer.cs
- OdbcConnectionOpen.cs
- ListSourceHelper.cs
- ParentControlDesigner.cs
- MultiAsyncResult.cs
- OdbcFactory.cs
- Function.cs
- SchemaTypeEmitter.cs
- InstanceData.cs
- TimersDescriptionAttribute.cs
- DateTime.cs
- VectorAnimation.cs
- CodeChecksumPragma.cs
- AsyncContentLoadedEventArgs.cs
- HtmlFormParameterReader.cs
- OdbcCommandBuilder.cs
- ReverseComparer.cs
- ToolStripItemRenderEventArgs.cs
- CompModSwitches.cs
- LoginDesigner.cs
- RC2.cs
- Wildcard.cs
- ScrollBar.cs
- SplashScreenNativeMethods.cs
- ItemList.cs
- ExpanderAutomationPeer.cs
- SmtpFailedRecipientsException.cs
- DataBoundControlAdapter.cs
- VisualBrush.cs
- SafeRightsManagementPubHandle.cs
- TreeIterator.cs
- Converter.cs
- Mapping.cs
- XamlInterfaces.cs
- HttpSysSettings.cs
- PackWebRequestFactory.cs
- PolyQuadraticBezierSegment.cs
- MediaSystem.cs
- BitmapMetadata.cs
- ExpressionHelper.cs
- BamlReader.cs
- CellParagraph.cs
- Trigger.cs
- RIPEMD160Managed.cs
- WrappingXamlSchemaContext.cs
- XmlDataProvider.cs
- ProfileBuildProvider.cs
- dbenumerator.cs
- ErrorWrapper.cs
- MenuItemStyleCollection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Container.cs
- FlagsAttribute.cs
- BufferBuilder.cs
- DataControlFieldCollection.cs
- ItemCollection.cs
- SkewTransform.cs
- CaseStatementProjectedSlot.cs
- AudienceUriMode.cs
- EditorAttribute.cs
- SequentialOutput.cs
- RoleGroupCollection.cs
- LocalBuilder.cs
- UriParserTemplates.cs
- LocalValueEnumerator.cs
- DoubleCollectionConverter.cs
- ButtonColumn.cs
- DocumentPaginator.cs
- ShapeTypeface.cs
- TimeSpanConverter.cs
- OpCodes.cs
- PointAnimationUsingPath.cs
- DataSourceControlBuilder.cs
- StoreAnnotationsMap.cs
- CapabilitiesAssignment.cs
- IndexerNameAttribute.cs
- ImageAttributes.cs
- WebPartCatalogAddVerb.cs
- PropertyTab.cs
- GlyphElement.cs
- DataBindingCollection.cs
- UInt32Storage.cs