Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / TransportConfigurationTypeElement.cs / 1 / TransportConfigurationTypeElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Configuration; public sealed partial class TransportConfigurationTypeElement : ConfigurationElement { public TransportConfigurationTypeElement() { } public TransportConfigurationTypeElement(string name) : this() { if (String.IsNullOrEmpty(name)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("name"); } this.Name = name; } public TransportConfigurationTypeElement(string name, string transportConfigurationTypeName) : this(name) { if (String.IsNullOrEmpty(transportConfigurationTypeName)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("transportConfigurationTypeName"); } this.TransportConfigurationType = transportConfigurationTypeName; } [ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] [StringValidator(MinLength = 1)] public string Name { get { return (string)base[ConfigurationStrings.Name]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.Name] = value; } } [ConfigurationProperty(ConfigurationStrings.TransportConfigurationType, Options = ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string TransportConfigurationType { get { return (string)base[ConfigurationStrings.TransportConfigurationType]; } set { if(String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.TransportConfigurationType] = 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
- WmlFormAdapter.cs
- SerializationHelper.cs
- KeyPressEvent.cs
- SBCSCodePageEncoding.cs
- ColorContext.cs
- GridViewRowCollection.cs
- ProvidePropertyAttribute.cs
- MetadataWorkspace.cs
- SpecularMaterial.cs
- XmlDataSourceNodeDescriptor.cs
- SqlClientMetaDataCollectionNames.cs
- DataGridViewButtonColumn.cs
- CookieProtection.cs
- XmlLanguageConverter.cs
- Transform3D.cs
- NameValueConfigurationElement.cs
- ScrollItemPatternIdentifiers.cs
- WindowsClaimSet.cs
- ExpressionPrefixAttribute.cs
- HMACSHA384.cs
- GridViewCellAutomationPeer.cs
- SoapAttributeAttribute.cs
- PropertyBuilder.cs
- ClientType.cs
- WebEvents.cs
- DataTableReaderListener.cs
- DetailsViewAutoFormat.cs
- unsafeIndexingFilterStream.cs
- SqlConnectionPoolGroupProviderInfo.cs
- EventData.cs
- parserscommon.cs
- SecurityVerifiedMessage.cs
- WrappedIUnknown.cs
- HyperlinkAutomationPeer.cs
- SynchronousChannelMergeEnumerator.cs
- TypeListConverter.cs
- ToolStripGripRenderEventArgs.cs
- DataColumnPropertyDescriptor.cs
- SplitterPanel.cs
- SequenceDesigner.cs
- ModelItemDictionaryImpl.cs
- DbMetaDataCollectionNames.cs
- TypeExtensionConverter.cs
- HMACSHA512.cs
- GenericEnumerator.cs
- HttpResponse.cs
- FunctionMappingTranslator.cs
- SymmetricCryptoHandle.cs
- DataContractJsonSerializer.cs
- XmlWriterSettings.cs
- MergeFilterQuery.cs
- InkCanvasAutomationPeer.cs
- HebrewNumber.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ADMembershipProvider.cs
- handlecollector.cs
- ServicePointManagerElement.cs
- TabPanel.cs
- VariableDesigner.xaml.cs
- DataObjectMethodAttribute.cs
- UnaryNode.cs
- WinInetCache.cs
- AppendHelper.cs
- EntityDesignerUtils.cs
- dataprotectionpermissionattribute.cs
- FocusTracker.cs
- AutoScrollHelper.cs
- DateTimeValueSerializerContext.cs
- SqlNode.cs
- ConfigurationLocationCollection.cs
- SelectedDatesCollection.cs
- SplayTreeNode.cs
- Size3D.cs
- SizeChangedEventArgs.cs
- DriveInfo.cs
- OracleCommandBuilder.cs
- XmlRawWriter.cs
- DataGridColumnEventArgs.cs
- OleDbReferenceCollection.cs
- JsonXmlDataContract.cs
- SessionPageStatePersister.cs
- OutOfProcStateClientManager.cs
- System.Data.OracleClient_BID.cs
- AnnotationAdorner.cs
- StringFunctions.cs
- ValidationErrorCollection.cs
- WebPartEditorOkVerb.cs
- ExceptionHelpers.cs
- GridLengthConverter.cs
- IgnoreSection.cs
- XXXOnTypeBuilderInstantiation.cs
- FixUp.cs
- Token.cs
- VisualCollection.cs
- OutputCacheSettingsSection.cs
- NavigationExpr.cs
- StandardToolWindows.cs
- DataMember.cs
- MatcherBuilder.cs
- MenuScrollingVisibilityConverter.cs