Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ComMethodElement.cs / 1 / ComMethodElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Globalization; using System.Xml; public sealed partial class ComMethodElement : ConfigurationElement { public ComMethodElement () : base () { } public ComMethodElement(string method) : this () { this.ExposedMethod = method; } [ConfigurationProperty(ConfigurationStrings.ExposedMethod, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string ExposedMethod { get { return (string)base[ConfigurationStrings.ExposedMethod]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.ExposedMethod] = value; } } } } // 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
- ChannelServices.cs
- UseLicense.cs
- Transform.cs
- UpdateProgress.cs
- ToolStripContainer.cs
- SqlLiftWhereClauses.cs
- StateMachineExecutionState.cs
- TraceSwitch.cs
- SessionEndedEventArgs.cs
- NotifyIcon.cs
- DiagnosticTraceSource.cs
- HttpBindingExtension.cs
- VirtualStackFrame.cs
- QueryTreeBuilder.cs
- X509ThumbprintKeyIdentifierClause.cs
- WindowsImpersonationContext.cs
- CodeCommentStatementCollection.cs
- ListParaClient.cs
- DateTimeConverter2.cs
- XamlPoint3DCollectionSerializer.cs
- AutomationElementCollection.cs
- MSAAWinEventWrap.cs
- ObjectItemNoOpAssemblyLoader.cs
- CellLabel.cs
- MediaElement.cs
- SiteMapNode.cs
- MetadataExchangeBindings.cs
- MethodRental.cs
- CodeArrayIndexerExpression.cs
- SBCSCodePageEncoding.cs
- XmlSerializerFactory.cs
- FontStretchConverter.cs
- UInt64.cs
- XPathPatternParser.cs
- StrokeNodeEnumerator.cs
- HandlerBase.cs
- TypeUtils.cs
- ObjectDataSourceDisposingEventArgs.cs
- GACIdentityPermission.cs
- HandlerBase.cs
- RegistrySecurity.cs
- XmlSerializerOperationFormatter.cs
- FileUtil.cs
- SqlFlattener.cs
- SortedSetDebugView.cs
- CodeAssignStatement.cs
- GenericRootAutomationPeer.cs
- CodeDelegateInvokeExpression.cs
- ReadOnlyCollectionBuilder.cs
- AppDomainFactory.cs
- InternalResources.cs
- SqlPersonalizationProvider.cs
- DESCryptoServiceProvider.cs
- ReferentialConstraint.cs
- TextFormatterHost.cs
- TileModeValidation.cs
- AddInActivator.cs
- TrueReadOnlyCollection.cs
- HuffCodec.cs
- CodeCatchClauseCollection.cs
- SessionPageStatePersister.cs
- KeySpline.cs
- UnionExpr.cs
- COMException.cs
- Boolean.cs
- PhysicalOps.cs
- TypeConverterValueSerializer.cs
- DrawListViewSubItemEventArgs.cs
- XmlNamespaceMapping.cs
- DelegateCompletionCallbackWrapper.cs
- BatchServiceHost.cs
- SqlTypesSchemaImporter.cs
- TrackBar.cs
- ResourceIDHelper.cs
- MaskedTextBox.cs
- ImageMetadata.cs
- WindowsStatic.cs
- SpanIndex.cs
- WebMessageEncodingElement.cs
- OSFeature.cs
- GeneralTransform3DCollection.cs
- ProfilePropertyMetadata.cs
- XComponentModel.cs
- JavaScriptSerializer.cs
- NumberFormatInfo.cs
- AssemblyAttributesGoHere.cs
- BamlMapTable.cs
- HyperLinkColumn.cs
- ObjectCloneHelper.cs
- CqlParserHelpers.cs
- XmlEventCache.cs
- SqlDataSourceFilteringEventArgs.cs
- LayoutTableCell.cs
- SizeIndependentAnimationStorage.cs
- TakeQueryOptionExpression.cs
- DesignTimeValidationFeature.cs
- FindCriteriaCD1.cs
- ListSourceHelper.cs
- StringStorage.cs
- Calendar.cs