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
- CodeRemoveEventStatement.cs
- SerializationHelper.cs
- Lazy.cs
- PageRouteHandler.cs
- OdbcConnectionStringbuilder.cs
- TextRenderer.cs
- NullRuntimeConfig.cs
- TagPrefixCollection.cs
- TypedElement.cs
- WebExceptionStatus.cs
- ObjectAssociationEndMapping.cs
- OleDbReferenceCollection.cs
- SrgsRulesCollection.cs
- ButtonStandardAdapter.cs
- ReflectionUtil.cs
- HitTestWithPointDrawingContextWalker.cs
- ViewBox.cs
- TypeGeneratedEventArgs.cs
- Math.cs
- XmlSerializerVersionAttribute.cs
- ACE.cs
- SymmetricSecurityProtocol.cs
- CanExecuteRoutedEventArgs.cs
- PropertyGridView.cs
- HttpApplication.cs
- SparseMemoryStream.cs
- HttpRawResponse.cs
- TextBoxBase.cs
- SecurityContextCookieSerializer.cs
- Wildcard.cs
- IndexedEnumerable.cs
- BuildProviderAppliesToAttribute.cs
- ActivityExecutorOperation.cs
- TextCompositionManager.cs
- SafeNativeMemoryHandle.cs
- ParameterBuilder.cs
- ConnectionInterfaceCollection.cs
- RelatedEnd.cs
- XPathScanner.cs
- SynchronizationContext.cs
- NonPrimarySelectionGlyph.cs
- HttpProfileGroupBase.cs
- GridProviderWrapper.cs
- AdRotator.cs
- StringStorage.cs
- ExpandCollapsePatternIdentifiers.cs
- WindowsGraphicsCacheManager.cs
- SelectedDatesCollection.cs
- AccessDataSource.cs
- ConfigurationSettings.cs
- PassportPrincipal.cs
- StateDesigner.LayoutSelectionGlyph.cs
- CompositionTarget.cs
- InstanceView.cs
- CommandPlan.cs
- Expander.cs
- LayoutEditorPart.cs
- TypeSystem.cs
- DbReferenceCollection.cs
- MarkerProperties.cs
- CodeExporter.cs
- ToolStripStatusLabel.cs
- LabelEditEvent.cs
- HtmlInputControl.cs
- OledbConnectionStringbuilder.cs
- DbConnectionStringBuilder.cs
- Menu.cs
- DictionaryTraceRecord.cs
- LinkClickEvent.cs
- InstanceHandleConflictException.cs
- StrongNameMembershipCondition.cs
- CompilationLock.cs
- PointIndependentAnimationStorage.cs
- MD5.cs
- TimeSpanStorage.cs
- CompilerErrorCollection.cs
- RankException.cs
- _NTAuthentication.cs
- assertwrapper.cs
- XPathDescendantIterator.cs
- CqlLexerHelpers.cs
- ConfigurationManagerInternalFactory.cs
- DSGeneratorProblem.cs
- ToolStripPanelCell.cs
- RadialGradientBrush.cs
- QilExpression.cs
- BuildProvider.cs
- XmlBaseReader.cs
- ConfigurationStrings.cs
- ConfigurationLoaderException.cs
- FormatterConverter.cs
- ConnectionStringsExpressionBuilder.cs
- HttpHandler.cs
- ToolbarAUtomationPeer.cs
- WebPartAddingEventArgs.cs
- NavigationExpr.cs
- DeferredRunTextReference.cs
- TimeoutStream.cs
- InvalidDataContractException.cs
- CompositeDispatchFormatter.cs