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
- AuthenticationConfig.cs
- UserMapPath.cs
- ConfigurationHelpers.cs
- AmbientLight.cs
- PropertyBuilder.cs
- ClientConfigurationSystem.cs
- TripleDESCryptoServiceProvider.cs
- IntSecurity.cs
- XPathAxisIterator.cs
- TabControl.cs
- SingleObjectCollection.cs
- MeasurementDCInfo.cs
- SqlFacetAttribute.cs
- ReflectionHelper.cs
- RawStylusActions.cs
- WindowShowOrOpenTracker.cs
- FormatVersion.cs
- StrongNameMembershipCondition.cs
- DependencyPropertyDescriptor.cs
- DataGridViewCellStyleEditor.cs
- AsyncParams.cs
- InternalBase.cs
- MouseWheelEventArgs.cs
- ComboBoxAutomationPeer.cs
- StringReader.cs
- EventHandlers.cs
- BufferBuilder.cs
- NullToBooleanConverter.cs
- PublisherMembershipCondition.cs
- SmtpAuthenticationManager.cs
- XmlChildNodes.cs
- DataMisalignedException.cs
- BaseHashHelper.cs
- StateRuntime.cs
- ConfigurationPropertyAttribute.cs
- RoutedUICommand.cs
- BooleanExpr.cs
- ToolStripSeparatorRenderEventArgs.cs
- RuntimeHelpers.cs
- HttpModuleCollection.cs
- DecoderExceptionFallback.cs
- TypeListConverter.cs
- CompareValidator.cs
- TransferMode.cs
- DrawingContextWalker.cs
- WSFederationHttpSecurity.cs
- BeginEvent.cs
- CubicEase.cs
- FrameworkContentElement.cs
- CodeCatchClauseCollection.cs
- SrgsSemanticInterpretationTag.cs
- ServiceOperationParameter.cs
- SystemIcons.cs
- _ContextAwareResult.cs
- UDPClient.cs
- ByteKeyFrameCollection.cs
- ResXResourceSet.cs
- StrokeDescriptor.cs
- TimeZone.cs
- DataSysAttribute.cs
- ShaderEffect.cs
- BinarySecretKeyIdentifierClause.cs
- QueryPageSettingsEventArgs.cs
- XmlSchemaDocumentation.cs
- ControlSerializer.cs
- PasswordRecovery.cs
- FileDialog_Vista_Interop.cs
- MetadataItemEmitter.cs
- PageAsyncTaskManager.cs
- WebScriptEnablingBehavior.cs
- UIntPtr.cs
- GridViewColumnHeader.cs
- Table.cs
- ShaderEffect.cs
- DisplayInformation.cs
- EventLogPermissionEntryCollection.cs
- NamespaceImport.cs
- EFAssociationProvider.cs
- ParserStack.cs
- IPipelineRuntime.cs
- MediaPlayer.cs
- AlphaSortedEnumConverter.cs
- GradientStopCollection.cs
- PropertiesTab.cs
- MailHeaderInfo.cs
- InOutArgumentConverter.cs
- MergeFilterQuery.cs
- MessageQueueKey.cs
- DataControlButton.cs
- AncestorChangedEventArgs.cs
- Exceptions.cs
- DataGridViewColumnTypeEditor.cs
- StreamAsIStream.cs
- SizeAnimationUsingKeyFrames.cs
- PLINQETWProvider.cs
- AsyncResult.cs
- TextEndOfLine.cs
- PropagatorResult.cs
- StateRuntime.cs
- DispatcherBuilder.cs