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
- XmlBinaryWriter.cs
- StringBuilder.cs
- Stack.cs
- DataFormat.cs
- SimpleFieldTemplateUserControl.cs
- ImportedNamespaceContextItem.cs
- SettingsBindableAttribute.cs
- Point3DCollection.cs
- BufferedStream.cs
- FrameworkElementAutomationPeer.cs
- HtmlLinkAdapter.cs
- FormsAuthenticationCredentials.cs
- PrimaryKeyTypeConverter.cs
- DataSourceXmlAttributeAttribute.cs
- DesignerAttribute.cs
- ServiceModelEnumValidator.cs
- EntityProxyTypeInfo.cs
- UriExt.cs
- DataSourceIDConverter.cs
- UInt16.cs
- QuestionEventArgs.cs
- OneOfElement.cs
- RoutedEvent.cs
- SelectedDatesCollection.cs
- SemaphoreSecurity.cs
- RequestCachingSection.cs
- AttachInfo.cs
- SiteMapDataSourceView.cs
- AssemblyBuilder.cs
- ExpressionPrinter.cs
- ProjectionCamera.cs
- dataprotectionpermissionattribute.cs
- EncryptedReference.cs
- ComponentFactoryHelpers.cs
- ServiceManager.cs
- DoWorkEventArgs.cs
- DbProviderManifest.cs
- DataGridItem.cs
- ClientProxyGenerator.cs
- MatrixIndependentAnimationStorage.cs
- DescendantQuery.cs
- XmlDataFileEditor.cs
- TraceSection.cs
- JsonFormatMapping.cs
- ProfileService.cs
- TypeConverterHelper.cs
- CodeRemoveEventStatement.cs
- CodeArrayIndexerExpression.cs
- ToolboxItemAttribute.cs
- XmlUnspecifiedAttribute.cs
- IDQuery.cs
- AccessorTable.cs
- UnaryQueryOperator.cs
- ClosableStream.cs
- XmlEncodedRawTextWriter.cs
- MatrixAnimationUsingPath.cs
- DataRecordInfo.cs
- StoreAnnotationsMap.cs
- AudioFormatConverter.cs
- _HTTPDateParse.cs
- StringFormat.cs
- dbdatarecord.cs
- XmlEventCache.cs
- SafeBuffer.cs
- GetTokenRequest.cs
- Ticks.cs
- RemotingServices.cs
- HitTestWithPointDrawingContextWalker.cs
- XamlSerializer.cs
- DataRecordInfo.cs
- MasterPageBuildProvider.cs
- SimpleType.cs
- EntityDataSourceDesigner.cs
- HostProtectionPermission.cs
- SystemIcmpV6Statistics.cs
- ComPlusInstanceContextInitializer.cs
- ClientScriptManagerWrapper.cs
- LinqExpressionNormalizer.cs
- DataGridViewCheckBoxCell.cs
- DataPointer.cs
- DynamicDataResources.Designer.cs
- HtmlTitle.cs
- TreeNodeStyle.cs
- MachineKeySection.cs
- XmlTextReaderImpl.cs
- XmlNotation.cs
- BrowserCapabilitiesCodeGenerator.cs
- storagemappingitemcollection.viewdictionary.cs
- IisTraceWebEventProvider.cs
- EmptyControlCollection.cs
- StateMachine.cs
- ForEach.cs
- NavigatorOutput.cs
- IPAddressCollection.cs
- RawStylusInputReport.cs
- Image.cs
- PropertyMappingExceptionEventArgs.cs
- RelatedCurrencyManager.cs
- ResourceReferenceExpression.cs
- EmissiveMaterial.cs