﻿<?xml version="1.0" encoding="utf-8"?><Type Name="IChannelListener" FullName="System.ServiceModel.Channels.IChannelListener"><TypeSignature Language="C#" Value="public interface IChannelListener : System.ServiceModel.ICommunicationObject" /><TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IChannelListener implements class System.ServiceModel.ICommunicationObject" /><AssemblyInfo><AssemblyName>System.ServiceModel</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Interfaces><Interface><InterfaceName>System.ServiceModel.ICommunicationObject</InterfaceName></Interface></Interfaces><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.ServiceModel.Channels.IChannelListener" /> interface represents the base interface for channel listeners.</para><para>Channel listeners and their associated channels are generally used by services that receive communications initiated by clients. Channel factories that implement the <see cref="T:System.ServiceModel.Channels.IChannelFactory" /> interface, by contrast, provide the mechanisms used to create the channels through which communication with a service is initiated. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines the interface that must be implemented by a channel listener to accept channels.</para></summary></Docs><Members><Member MemberName="BeginWaitForChannel"><MemberSignature Language="C#" Value="public IAsyncResult BeginWaitForChannel (TimeSpan timeout, AsyncCallback callback, object state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.IAsyncResult BeginWaitForChannel(valuetype System.TimeSpan timeout, class System.AsyncCallback callback, object state) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.IAsyncResult</ReturnType></ReturnValue><Parameters><Parameter Name="timeout" Type="System.TimeSpan" /><Parameter Name="callback" Type="System.AsyncCallback" /><Parameter Name="state" Type="System.Object" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Begins an asynchronous operation to wait for a channel to arrive that must be completed within a specified interval of time.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.IAsyncResult" /> that references the asynchronous wait for a channel operation. </para></returns><param name="timeout"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Timespan" /> that specifies how long the wait for a channel operation has to complete before timing out.</param><param name="callback"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.AsyncCallback" /> delegate that receives the notification of the asynchronous completion of the wait for a channel operation.</param><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />An object, specified by the application, that contains state information associated with the asynchronous wait for a channel operation.</param></Docs></Member><Member MemberName="EndWaitForChannel"><MemberSignature Language="C#" Value="public bool EndWaitForChannel (IAsyncResult result);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool EndWaitForChannel(class System.IAsyncResult result) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="result" Type="System.IAsyncResult" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Completes an asynchronous operation to wait for channels to arrive.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if a message arrived; otherwise false.</para></returns><param name="result"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.IAsyncResult" /> returned by a call to the <see cref="M:System.ServiceModel.Channels.IChannelListener.EndWaitForChannel(System.IAsyncResult)" /> method.</param></Docs></Member><Member MemberName="GetProperty&lt;T&gt;"><MemberSignature Language="C#" Value="public T GetProperty&lt;T&gt; () where T : class;" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance !!T GetProperty&lt;class T&gt;() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>T</ReturnType></ReturnValue><TypeParameters><TypeParameter Name="T"><Constraints><ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute></Constraints></TypeParameter></TypeParameters><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this method to request a typed object such as an interface for setting properties or getting status from the appropriate layer in the channel stack. If a layer supports returning the requested object, it returns it. If not, it delegates the call down to the next layer in the stack. If it gets to the bottom of the stack and no channel layer supported the requested object, then the method returns null.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a typed object requested, if present, from the appropriate layer in the channel stack.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The typed object <paramref name="T" /> requested, if it is present or null if it is not.</para></returns><typeparam name="T"><attribution license="cc4" from="Microsoft" modified="false" />The typed object for which the method is querying.</typeparam></Docs></Member><Member MemberName="Uri"><MemberSignature Language="C#" Value="public Uri Uri { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Uri Uri" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Uri</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This URI represents the transport address on which the <see cref="T:System.ServiceModel.Channels.IChannelListener" /> is listening for messages.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the URI on which the listeners that are generated by the factory listen.</para></summary></Docs></Member><Member MemberName="WaitForChannel"><MemberSignature Language="C#" Value="public bool WaitForChannel (TimeSpan timeout);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool WaitForChannel(valuetype System.TimeSpan timeout) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="timeout" Type="System.TimeSpan" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Waits for a channel to arrive.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if a channel arrived before the interval of time specified by the <paramref name="timeout" />; otherwise false.</para></returns><param name="timeout"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Timespan" /> that specifies how long the wait for a channel operation has to complete before timing out.</param></Docs></Member></Members></Type>