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
- WindowClosedEventArgs.cs
- NetDataContractSerializer.cs
- SqlDataSourceCache.cs
- CheckBoxStandardAdapter.cs
- ListenerBinder.cs
- ImagingCache.cs
- Soap.cs
- DataSourceHelper.cs
- ViewManagerAttribute.cs
- DesignerRegionCollection.cs
- FileFormatException.cs
- PersonalizationStateInfo.cs
- XmlSecureResolver.cs
- StringComparer.cs
- SafeRightsManagementPubHandle.cs
- WebPartDisplayMode.cs
- IsolatedStorageException.cs
- Native.cs
- GetTokenRequest.cs
- FixedFlowMap.cs
- contentDescriptor.cs
- CrossSiteScriptingValidation.cs
- AppDomainManager.cs
- Queue.cs
- DesignerDataColumn.cs
- MissingSatelliteAssemblyException.cs
- ExpressionVisitor.cs
- ReadOnlyAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- ControlValuePropertyAttribute.cs
- ZoomPercentageConverter.cs
- Int16Converter.cs
- DiagnosticsConfigurationHandler.cs
- RtfControls.cs
- SqlPersonalizationProvider.cs
- SmtpSection.cs
- Input.cs
- SoapReflectionImporter.cs
- CellPartitioner.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TransformGroup.cs
- ActivationArguments.cs
- HtmlInputCheckBox.cs
- AdRotatorDesigner.cs
- PersonalizationStateInfoCollection.cs
- ProviderIncompatibleException.cs
- Authorization.cs
- DesignerToolboxInfo.cs
- RemotingSurrogateSelector.cs
- DataKeyCollection.cs
- NullableIntMinMaxAggregationOperator.cs
- Help.cs
- MenuItemAutomationPeer.cs
- InputGestureCollection.cs
- InstanceLockLostException.cs
- EncryptedReference.cs
- NonClientArea.cs
- CodeLabeledStatement.cs
- GridViewColumnCollection.cs
- BaseAutoFormat.cs
- Point3DCollection.cs
- Int16Animation.cs
- DocumentPage.cs
- TypedTableBase.cs
- DataConnectionHelper.cs
- MethodBody.cs
- IdentitySection.cs
- TableLayoutRowStyleCollection.cs
- RSACryptoServiceProvider.cs
- ConvertTextFrag.cs
- Geometry.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- FrameworkContentElement.cs
- RichTextBoxDesigner.cs
- EpmSyndicationContentSerializer.cs
- EllipseGeometry.cs
- CompilerState.cs
- WhitespaceRuleReader.cs
- SerialStream.cs
- TokenizerHelper.cs
- HtmlInputText.cs
- HostedHttpTransportManager.cs
- AutomationPatternInfo.cs
- SqlNotificationRequest.cs
- SafeLocalMemHandle.cs
- CustomWebEventKey.cs
- Annotation.cs
- Int32RectValueSerializer.cs
- DummyDataSource.cs
- HelloMessageCD1.cs
- ConfigXmlCDataSection.cs
- ExpandedProjectionNode.cs
- PowerModeChangedEventArgs.cs
- Converter.cs
- userdatakeys.cs
- ComponentResourceManager.cs
- ReferenceSchema.cs
- AsyncResult.cs
- SafeSecurityHandles.cs
- StreamInfo.cs