﻿<?xml version="1.0" encoding="utf-8"?><Type Name="OptionalReliableSession" FullName="System.ServiceModel.OptionalReliableSession"><TypeSignature Language="C#" Value="public class OptionalReliableSession : System.ServiceModel.ReliableSession" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit OptionalReliableSession extends System.ServiceModel.ReliableSession" /><AssemblyInfo><AssemblyName>System.ServiceModel</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ServiceModel.ReliableSession</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The ability to enable a reliable session is provided with three of the system-provided bindings. A reliable session is:</para><list type="bullet"><item><para>Optional (and off by default) with <see cref="T:System.ServiceModel.NetTcpBinding" /> and <see cref="T:System.ServiceModel.WsHttpBinding" /> and </para></item><item><para>Required (and hence always on) with <see cref="T:System.ServiceModel.WsDualHttpBinding" />.</para></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides convenient access to whether a reliable session is enabled when using one of the predefined bindings where it is optional.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public OptionalReliableSession ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ServiceModel.OptionalReliableSession" /> class.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public OptionalReliableSession (System.ServiceModel.Channels.ReliableSessionBindingElement binding);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.ServiceModel.Channels.ReliableSessionBindingElement binding) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="binding" Type="System.ServiceModel.Channels.ReliableSessionBindingElement" /></Parameters><Docs><param name="binding">To be added.</param><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ServiceModel.OptionalReliableSession" /> class from a reliable session binding element.</para></summary></Docs></Member><Member MemberName="Enabled"><MemberSignature Language="C#" Value="public bool Enabled { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance bool Enabled" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The ability to enable a reliable session is provided with three of the system-provided bindings. A reliable session is:</para><list type="bullet"><item><para>Optional (and off by default) with <see cref="T:System.ServiceModel.NetTcpBinding" /> and <see cref="T:System.ServiceModel.WsHttpBinding" />. </para></item><item><para>Required (and hence always on) with <see cref="T:System.ServiceModel.WsDualHttpBinding" />.</para></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value that indicates whether the reliable session is enabled.</para></summary></Docs></Member></Members></Type>