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
- SqlConnectionHelper.cs
- DynamicPropertyReader.cs
- LongValidatorAttribute.cs
- ExpressionList.cs
- BinaryCommonClasses.cs
- BypassElement.cs
- COM2Properties.cs
- GeneralTransform.cs
- XNodeNavigator.cs
- ModuleBuilder.cs
- Thumb.cs
- ObjectManager.cs
- RenderData.cs
- SafeNativeMethods.cs
- HostedHttpTransportManager.cs
- UniqueID.cs
- LogStore.cs
- InvokePatternIdentifiers.cs
- ButtonColumn.cs
- GeometryCombineModeValidation.cs
- DateTimeOffset.cs
- WizardStepBase.cs
- FamilyCollection.cs
- SkipStoryboardToFill.cs
- Tuple.cs
- BitStack.cs
- MarginsConverter.cs
- ApplicationGesture.cs
- ToggleButton.cs
- SecurityContext.cs
- XmlExpressionDumper.cs
- TabControl.cs
- NameHandler.cs
- BaseWebProxyFinder.cs
- ImmutableAssemblyCacheEntry.cs
- ListViewItem.cs
- Rect.cs
- ReadWriteSpinLock.cs
- StorageEndPropertyMapping.cs
- BindStream.cs
- OracleParameterCollection.cs
- CrossContextChannel.cs
- ScrollPattern.cs
- SafeEventLogWriteHandle.cs
- ExtendedProtectionPolicyElement.cs
- EndpointAddress10.cs
- WindowsFormsSectionHandler.cs
- BooleanAnimationBase.cs
- CultureTable.cs
- RoleManagerSection.cs
- Page.cs
- XmlSchemaInferenceException.cs
- ScriptComponentDescriptor.cs
- ObjectViewFactory.cs
- HostingEnvironmentWrapper.cs
- ObjectAnimationBase.cs
- Monitor.cs
- TraceFilter.cs
- BadImageFormatException.cs
- ClientSettings.cs
- SecurityToken.cs
- RawStylusActions.cs
- UserMapPath.cs
- linebase.cs
- ColumnResult.cs
- MulticastDelegate.cs
- PackageRelationship.cs
- BackgroundFormatInfo.cs
- DataGridToolTip.cs
- ValidationRule.cs
- Size3D.cs
- DoubleAnimation.cs
- FrameworkElement.cs
- DataGridViewButtonColumn.cs
- AmbientLight.cs
- ImageMap.cs
- StatusBarPanelClickEvent.cs
- CodeCastExpression.cs
- CurrencyWrapper.cs
- IdentityValidationException.cs
- BaseWebProxyFinder.cs
- GlyphingCache.cs
- HttpContextBase.cs
- LineSegment.cs
- QueryPageSettingsEventArgs.cs
- ColorPalette.cs
- ContentElementAutomationPeer.cs
- SqlTriggerAttribute.cs
- Int32Rect.cs
- DetailsViewDeletedEventArgs.cs
- ResourceContainerWrapper.cs
- UITypeEditor.cs
- SkewTransform.cs
- FontFamily.cs
- HttpServerUtilityBase.cs
- DataGridViewRowConverter.cs
- WorkflowInstance.cs
- DescendentsWalker.cs
- FeatureAttribute.cs
- BooleanFacetDescriptionElement.cs