Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / StandardBindingOptionalReliableSessionElement.cs / 1 / StandardBindingOptionalReliableSessionElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.ServiceModel; using System.Configuration; using System.ServiceModel.Channels; using System.Xml; public sealed partial class StandardBindingOptionalReliableSessionElement : StandardBindingReliableSessionElement { public StandardBindingOptionalReliableSessionElement() { } [ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue = ReliableSessionDefaults.Enabled)] public bool Enabled { get {return (bool) base[ConfigurationStrings.Enabled]; } set {base[ConfigurationStrings.Enabled] = value; } } public void InitializeFrom(OptionalReliableSession optionalReliableSession) { if (null == optionalReliableSession) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("optionalReliableSession"); } base.InitializeFrom(optionalReliableSession); this.Enabled = optionalReliableSession.Enabled; } public void ApplyConfiguration(OptionalReliableSession optionalReliableSession) { if (null == optionalReliableSession) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("optionalReliableSession"); } base.ApplyConfiguration(optionalReliableSession); optionalReliableSession.Enabled = this.Enabled; } } } // 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
- WindowsListViewGroup.cs
- DesignTableCollection.cs
- CriticalFileToken.cs
- ListViewPagedDataSource.cs
- ExclusiveCanonicalizationTransform.cs
- Mutex.cs
- Adorner.cs
- StandardBindingCollectionElement.cs
- X509SecurityToken.cs
- EntityProviderServices.cs
- XNodeValidator.cs
- EventLogEntryCollection.cs
- RequiredAttributeAttribute.cs
- MetadataAssemblyHelper.cs
- DataSetViewSchema.cs
- SafeFreeMibTable.cs
- SqlDataSourceFilteringEventArgs.cs
- DesignerAttributeInfo.cs
- RangeValuePattern.cs
- XPathQueryGenerator.cs
- InstanceKeyCollisionException.cs
- OleDbEnumerator.cs
- CompressedStack.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SafeHandles.cs
- IntSecurity.cs
- XmlException.cs
- TraceLog.cs
- SoapFormatterSinks.cs
- SqlDataSourceCommandEventArgs.cs
- ListViewGroupItemCollection.cs
- ProviderConnectionPointCollection.cs
- ResourceCategoryAttribute.cs
- SEHException.cs
- RegexParser.cs
- GridViewColumnHeaderAutomationPeer.cs
- InlineUIContainer.cs
- MsmqHostedTransportConfiguration.cs
- MimeTextImporter.cs
- GeometryCollection.cs
- FontInfo.cs
- NamedPipeHostedTransportConfiguration.cs
- TableCell.cs
- SystemDiagnosticsSection.cs
- ConstraintConverter.cs
- SqlWriter.cs
- InheritanceRules.cs
- GlyphRunDrawing.cs
- SqlProviderManifest.cs
- WmlLinkAdapter.cs
- GroupByQueryOperator.cs
- ParentQuery.cs
- ServiceContractGenerator.cs
- Process.cs
- SymbolUsageManager.cs
- SamlConditions.cs
- LingerOption.cs
- SQLInt32Storage.cs
- KoreanCalendar.cs
- M3DUtil.cs
- TextUtf8RawTextWriter.cs
- MenuItemCollection.cs
- SafeBitVector32.cs
- StylusButtonCollection.cs
- Clause.cs
- MutexSecurity.cs
- SQLString.cs
- DataGridViewDesigner.cs
- XLinq.cs
- InsufficientExecutionStackException.cs
- DataGridDetailsPresenter.cs
- EventHandlingScope.cs
- Thumb.cs
- WebEventTraceProvider.cs
- CodeAttributeArgument.cs
- InvokeMethod.cs
- ReferenceCountedObject.cs
- GeneralTransform3DCollection.cs
- MetaModel.cs
- BuildResult.cs
- WindowsSlider.cs
- EntityViewContainer.cs
- ContainerSelectorActiveEvent.cs
- SqlTypesSchemaImporter.cs
- ContentIterators.cs
- followingsibling.cs
- QueryAccessibilityHelpEvent.cs
- SchemaAttDef.cs
- RequestCacheManager.cs
- FileLevelControlBuilderAttribute.cs
- HttpModuleAction.cs
- PeerContact.cs
- Quaternion.cs
- MembershipUser.cs
- ObjectParameterCollection.cs
- DataSet.cs
- AssemblyBuilderData.cs
- SqlCacheDependency.cs
- ScrollChrome.cs
- CapiNative.cs