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
- ResolveCompletedEventArgs.cs
- isolationinterop.cs
- HierarchicalDataBoundControlAdapter.cs
- SymbolDocumentGenerator.cs
- DataServiceHostWrapper.cs
- WindowsToolbarItemAsMenuItem.cs
- DataServiceCollectionOfT.cs
- UIElementHelper.cs
- ConfigurationSectionCollection.cs
- SmiEventSink_DeferedProcessing.cs
- ChannelSinkStacks.cs
- DomainUpDown.cs
- ScalarConstant.cs
- PartialCachingControl.cs
- HeaderedContentControl.cs
- IntegerFacetDescriptionElement.cs
- WindowsRegion.cs
- RepeatButton.cs
- XdrBuilder.cs
- BrowserCapabilitiesCodeGenerator.cs
- StringUtil.cs
- SapiGrammar.cs
- CalendarTable.cs
- Symbol.cs
- fixedPageContentExtractor.cs
- Attachment.cs
- SerializationSectionGroup.cs
- MissingFieldException.cs
- ColorBuilder.cs
- FileDataSourceCache.cs
- WinFormsSecurity.cs
- RuntimeResourceSet.cs
- DataObjectMethodAttribute.cs
- UserPreferenceChangedEventArgs.cs
- SchemaEntity.cs
- CollectionViewGroup.cs
- UseLicense.cs
- TypeHelper.cs
- SHA512.cs
- LicenseContext.cs
- TaskFileService.cs
- MarshalByValueComponent.cs
- SecureUICommand.cs
- FontStyleConverter.cs
- httpserverutility.cs
- ResourceAssociationSet.cs
- GeneralTransform3D.cs
- FixedPageAutomationPeer.cs
- PageBuildProvider.cs
- FamilyMapCollection.cs
- DispatcherExceptionFilterEventArgs.cs
- FixedPageStructure.cs
- FaultCode.cs
- TaskbarItemInfo.cs
- DetailsViewPageEventArgs.cs
- WindowsPen.cs
- SingleKeyFrameCollection.cs
- VisualStateManager.cs
- Int32Rect.cs
- SessionStateUtil.cs
- TimeSpanValidator.cs
- EventLogEntryCollection.cs
- ResourceCategoryAttribute.cs
- BlockingCollection.cs
- XmlSchemaRedefine.cs
- CollectionViewProxy.cs
- IntegerValidator.cs
- OutputCacheProfile.cs
- SctClaimSerializer.cs
- ProfileSection.cs
- TypeSource.cs
- TcpSocketManager.cs
- AnimationException.cs
- PolyBezierSegment.cs
- httpserverutility.cs
- PrefixQName.cs
- PreviewKeyDownEventArgs.cs
- ToggleButton.cs
- UniqueCodeIdentifierScope.cs
- CancellationState.cs
- Validator.cs
- DecoderReplacementFallback.cs
- Graph.cs
- RegexCode.cs
- Win32PrintDialog.cs
- XmlTextReaderImpl.cs
- PolygonHotSpot.cs
- ScopelessEnumAttribute.cs
- Accessible.cs
- MemberMaps.cs
- ChainOfResponsibility.cs
- HandlerMappingMemo.cs
- AppSettingsExpressionBuilder.cs
- PropertyDescriptorCollection.cs
- CloudCollection.cs
- ImageAttributes.cs
- DodSequenceMerge.cs
- SafeNativeMethods.cs
- InputReport.cs
- CodeDomConfigurationHandler.cs