34 lines
1.8 KiB
C#
34 lines
1.8 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Remoting.Messaging;
|
|
|
|
namespace System.Runtime.Remoting.Channels
|
|
{
|
|
/// <summary>Provides the stack functionality for a stack of client response channel sinks that must be invoked during an asynchronous message response decoding.</summary>
|
|
// Token: 0x020003AA RID: 938
|
|
[ComVisible(true)]
|
|
public interface IClientResponseChannelSinkStack
|
|
{
|
|
/// <summary>Requests asynchronous processing of a method call on the sinks in the current sink stack.</summary>
|
|
/// <param name="headers">The headers retrieved from the server response stream. </param>
|
|
/// <param name="stream">The stream coming back from the transport sink. </param>
|
|
/// <exception cref="T:System.Runtime.Remoting.RemotingException">The current sink stack is empty. </exception>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
// Token: 0x060025B5 RID: 9653
|
|
void AsyncProcessResponse(ITransportHeaders headers, Stream stream);
|
|
|
|
/// <summary>Dispatches the specified exception on the reply sink.</summary>
|
|
/// <param name="e">The exception to dispatch to the server. </param>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
// Token: 0x060025B6 RID: 9654
|
|
void DispatchException(Exception e);
|
|
|
|
/// <summary>Dispatches the specified reply message on the reply sink.</summary>
|
|
/// <param name="msg">The <see cref="T:System.Runtime.Remoting.Messaging.IMessage" /> to dispatch. </param>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
// Token: 0x060025B7 RID: 9655
|
|
void DispatchReplyMessage(IMessage msg);
|
|
}
|
|
}
|