﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ServerChannelSinkStack" FullName="System.Runtime.Remoting.Channels.ServerChannelSinkStack"><TypeSignature Maintainer="auto" Language="C#" Value="public class ServerChannelSinkStack : System.Runtime.Remoting.Channels.IServerChannelSinkStack" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ServerChannelSinkStack extends System.Object implements class System.Runtime.Remoting.Channels.IServerChannelSinkStack, class System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Runtime.Remoting.Channels.IServerChannelSinkStack</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This class makes a link demand. A security exception is thrown if the immediate caller does not have infrastructure permission. See <format type="text/html"><a href="A33FD5F9-2DE9-4653-A4F0-D9DF25082C4D">[&lt;topic://cpconLinkDemands&gt;]</a></format> for more information.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Holds the stack of server channel sinks.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ServerChannelSinkStack ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><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.Runtime.Remoting.Channels.ServerChannelSinkStack" /> class.</para></summary></Docs></Member><Member MemberName="AsyncProcessResponse"><MemberSignature Language="C#" Value="public void AsyncProcessResponse (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AsyncProcessResponse(class System.Runtime.Remoting.Messaging.IMessage msg, class System.Runtime.Remoting.Channels.ITransportHeaders headers, class System.IO.Stream stream) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="msg" Type="System.Runtime.Remoting.Messaging.IMessage" /><Parameter Name="headers" Type="System.Runtime.Remoting.Channels.ITransportHeaders" /><Parameter Name="stream" Type="System.IO.Stream" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method initializes asynchronous processing on the top sink in the current sink stack. For additional information, see the <see cref="M:System.Runtime.Remoting.Channels.IServerChannelSink.AsyncProcessResponse(System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack,System.Object,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Requests asynchronous processing of a method call on the sinks in the current sink stack.</para></summary><param name="msg"><attribution license="cc4" from="Microsoft" modified="false" />The message to be serialized onto the requested stream.</param><param name="headers"><attribution license="cc4" from="Microsoft" modified="false" />The headers retrieved from the server response stream. </param><param name="stream"><attribution license="cc4" from="Microsoft" modified="false" />The stream coming back from the transport sink. </param></Docs></Member><Member MemberName="GetResponseStream"><MemberSignature Language="C#" Value="public System.IO.Stream GetResponseStream (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.IO.Stream GetResponseStream(class System.Runtime.Remoting.Messaging.IMessage msg, class System.Runtime.Remoting.Channels.ITransportHeaders headers) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.IO.Stream</ReturnType></ReturnValue><Parameters><Parameter Name="msg" Type="System.Runtime.Remoting.Messaging.IMessage" /><Parameter Name="headers" Type="System.Runtime.Remoting.Channels.ITransportHeaders" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method returns the stream returned by the <see cref="M:System.Runtime.Remoting.Channels.IServerChannelSink.GetResponseStream(System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack,System.Object,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders)" /> called with the <paramref name="msg" /> and <paramref name="headers" /> parameters (<see cref="M:System.Runtime.Remoting.Channels.IServerChannelSink.GetResponseStream(System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack,System.Object,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders)" /> (<paramref name="msg" />, <paramref name="headers" />)) on the top sink in the current sink stack. The top sink in the sink stack remains unchanged.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the <see cref="T:System.IO.Stream" /> onto which the specified message is to be serialized.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.IO.Stream" /> onto which the specified message is to be serialized.</para></returns><param name="msg"><attribution license="cc4" from="Microsoft" modified="false" />The message to be serialized onto the requested stream. </param><param name="headers"><attribution license="cc4" from="Microsoft" modified="false" />The headers retrieved from the server response stream. </param></Docs></Member><Member MemberName="Pop"><MemberSignature Language="C#" Value="public object Pop (System.Runtime.Remoting.Channels.IServerChannelSink sink);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Pop(class System.Runtime.Remoting.Channels.IServerChannelSink sink) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="sink" Type="System.Runtime.Remoting.Channels.IServerChannelSink" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Pops the information associated with all the sinks from the sink stack up to and including the specified sink.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Information generated on the request side and associated with the specified sink.</para></returns><param name="sink"><attribution license="cc4" from="Microsoft" modified="false" />The sink to remove and return from the sink stack. </param></Docs></Member><Member MemberName="Push"><MemberSignature Language="C#" Value="public void Push (System.Runtime.Remoting.Channels.IServerChannelSink sink, object state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Push(class System.Runtime.Remoting.Channels.IServerChannelSink sink, object state) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="sink" Type="System.Runtime.Remoting.Channels.IServerChannelSink" /><Parameter Name="state" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The information generated on the request side and specified in the <paramref name="state" /> parameter is returned in the <paramref name="state" /> parameter of the <see cref="M:System.Runtime.Remoting.Channels.IServerChannelSink.AsyncProcessResponse(System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack,System.Object,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream)" /> method on the corresponding sink.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Pushes the specified sink and information associated with it onto the sink stack.</para></summary><param name="sink"><attribution license="cc4" from="Microsoft" modified="false" />The sink to push onto the sink stack. </param><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />Information generated on the request side that is needed on the response side. </param></Docs></Member><Member MemberName="ServerCallback"><MemberSignature Language="C#" Value="public void ServerCallback (IAsyncResult ar);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ServerCallback(class System.IAsyncResult ar) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="ar" Type="System.IAsyncResult" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The dispatched message represents a request method call on a remote object.</para><para>The <see cref="M:System.Runtime.Remoting.Channels.ServerChannelSinkStack.ServerCallback(System.IAsyncResult)" /> method is intended for use only by the .NET Framework remoting infrastructure. You should not call it directly.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides a <see cref="T:System.AsyncCallback" /> delegate to handle a callback after a message has been dispatched asynchronously. </para></summary><param name="ar"><attribution license="cc4" from="Microsoft" modified="false" />The status and state of an asynchronous operation on a remote object.</param></Docs></Member><Member MemberName="Store"><MemberSignature Language="C#" Value="public void Store (System.Runtime.Remoting.Channels.IServerChannelSink sink, object state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Store(class System.Runtime.Remoting.Channels.IServerChannelSink sink, object state) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="sink" Type="System.Runtime.Remoting.Channels.IServerChannelSink" /><Parameter Name="state" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Runtime.Remoting.Channels.ServerChannelSinkStack.Store(System.Runtime.Remoting.Channels.IServerChannelSink,System.Object)" /> method is intended for use only by the .NET Framework remoting infrastructure. You should not call it directly.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Stores a message sink and its associated state for later asynchronous processing. </para></summary><param name="sink"><attribution license="cc4" from="Microsoft" modified="false" />A server channel sink.</param><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />The state associated with <paramref name="sink" />.</param></Docs></Member><Member MemberName="StoreAndDispatch"><MemberSignature Language="C#" Value="public void StoreAndDispatch (System.Runtime.Remoting.Channels.IServerChannelSink sink, object state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void StoreAndDispatch(class System.Runtime.Remoting.Channels.IServerChannelSink sink, object state) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="sink" Type="System.Runtime.Remoting.Channels.IServerChannelSink" /><Parameter Name="state" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Runtime.Remoting.Channels.ServerChannelSinkStack.StoreAndDispatch(System.Runtime.Remoting.Channels.IServerChannelSink,System.Object)" /> method is intended for use only by the .NET Framework remoting infrastructure. You should not call it directly.</para><para>The method should be only called by a transport sink to complete an asynchronous dispatch.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Stores a message sink and its associated state, and then dispatches a message asynchronously, using the sink just stored and any other stored sinks. </para></summary><param name="sink"><attribution license="cc4" from="Microsoft" modified="false" />A server channel sink.</param><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />The state associated with <paramref name="sink" />.</param></Docs></Member></Members></Type>