Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

53 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="ISessionChannel&lt;TSession&gt;" FullName="System.ServiceModel.Channels.ISessionChannel&lt;TSession&gt;">
<TypeSignature Language="C#" Value="public interface ISessionChannel&lt;TSession&gt; where TSession : ISession" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ISessionChannel`1&lt;(class System.ServiceModel.Channels.ISession) TSession&gt;" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TSession">
<Constraints>
<InterfaceName>System.ServiceModel.Channels.ISession</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Interfaces />
<Docs>
<typeparam name="TSession">To be added.</typeparam>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.ServiceModel.Channels.ISessionChannel`1" /> interface is the base interface for session-based channels. It associates the type of session with the channel by setting the generic type parameter <paramref name="TSession" /> to a type that implements the <see cref="T:System.ServiceModel.Channels.ISession" /> interface in a way that reflects its role in the message exchange. For example, the <paramref name="TSession" /> is set to <see cref="T:System.ServiceModel.Channels.IInputSession" /> for an incoming session on the receiving side of a one-way communication, to <see cref="T:System.ServiceModel.Channels.IOutputSession" /> for an outgoing session on the sending side of a one-way communication, and to <see cref="T:System.ServiceModel.Channels.IDuplexSession" /> for a duplex session for a bi-directional communication pattern. </para>
<para>The <see cref="T:System.ServiceModel.Channels.ISessionChannel`1" /> interface provides a <see cref="P:System.ServiceModel.Channels.ISessionChannel`1.Session" /> property to retrieve the session with which the channel is associated. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the interface that associates a channel with a specific type of session.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Session">
<MemberSignature Language="C#" Value="public TSession Session { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance !TSession Session" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TSession</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This returns the generic parameter <paramref name="TSession" /> used to define the interface.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the type of session associated with this channel. </para>
</summary>
</Docs>
</Member>
</Members>
</Type>