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
- SchemaNotation.cs
- DefaultEventAttribute.cs
- MessageAction.cs
- PreviewPageInfo.cs
- MetadataItemSerializer.cs
- TargetInvocationException.cs
- ToolboxComponentsCreatedEventArgs.cs
- SynchronizationLockException.cs
- UnsafeNativeMethods.cs
- NullEntityWrapper.cs
- SecurityPermission.cs
- DoubleCollection.cs
- Baml6Assembly.cs
- SrgsRulesCollection.cs
- TraceContextEventArgs.cs
- Point4DValueSerializer.cs
- ipaddressinformationcollection.cs
- NameValueConfigurationElement.cs
- TCPListener.cs
- VirtualPath.cs
- RegisteredExpandoAttribute.cs
- KnownTypes.cs
- FrameworkRichTextComposition.cs
- StaticResourceExtension.cs
- RelationshipEntry.cs
- PointConverter.cs
- TableParaClient.cs
- TraceContextEventArgs.cs
- SourceElementsCollection.cs
- ToolStripDropDownClosedEventArgs.cs
- RemotingConfigParser.cs
- FontSizeConverter.cs
- GridSplitterAutomationPeer.cs
- PassportAuthenticationModule.cs
- TrackingExtract.cs
- ProviderCommandInfoUtils.cs
- LocalizableAttribute.cs
- SoapEnvelopeProcessingElement.cs
- EnumValAlphaComparer.cs
- CounterCreationData.cs
- InvalidFilterCriteriaException.cs
- CodeLinePragma.cs
- IdentityManager.cs
- ArgIterator.cs
- login.cs
- TextBlockAutomationPeer.cs
- AsymmetricSignatureDeformatter.cs
- JumpPath.cs
- NameObjectCollectionBase.cs
- StateManagedCollection.cs
- ExpressionBinding.cs
- XslNumber.cs
- SizeConverter.cs
- ResourcePermissionBase.cs
- WorkflowOwnerAsyncResult.cs
- ApplicationContext.cs
- ClientCredentialsSecurityTokenManager.cs
- ExtenderProviderService.cs
- _TransmitFileOverlappedAsyncResult.cs
- XPathExpr.cs
- NotConverter.cs
- GenericEnumConverter.cs
- CriticalHandle.cs
- QueryAccessibilityHelpEvent.cs
- DesignerWithHeader.cs
- TextCompositionEventArgs.cs
- RegexReplacement.cs
- ServiceHostFactory.cs
- VersionedStreamOwner.cs
- HostProtectionException.cs
- StylusPointPropertyInfo.cs
- PointLight.cs
- SafeRightsManagementHandle.cs
- RuleInfoComparer.cs
- ExpandedProjectionNode.cs
- MarshalDirectiveException.cs
- ChtmlTextWriter.cs
- ImagingCache.cs
- DocumentCollection.cs
- XPathSelfQuery.cs
- VerifyHashRequest.cs
- ToggleProviderWrapper.cs
- ModuleElement.cs
- TypeForwardedToAttribute.cs
- UnsettableComboBox.cs
- OutputCacheProviderCollection.cs
- ExtendedProperty.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ACE.cs
- Misc.cs
- SchemaImporterExtensionsSection.cs
- DBNull.cs
- SamlConstants.cs
- ProfileProvider.cs
- SharedPersonalizationStateInfo.cs
- Int32RectValueSerializer.cs
- FlagsAttribute.cs
- XsdValidatingReader.cs
- InputEventArgs.cs
- AttributeCollection.cs