Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/Remoting/Messaging/IMessageSink.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

33 lines
1.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Messaging
{
/// <summary>Defines the interface for a message sink.</summary>
// Token: 0x0200052F RID: 1327
[Token(Token = "0x200052F")]
[ComVisible(true)]
public interface IMessageSink
{
/// <summary>Synchronously processes the given message.</summary>
/// <param name="msg">The message to process.</param>
/// <returns>A reply message in response to the request.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x06002B4E RID: 11086
[Token(Token = "0x6002B4E")]
[Address(Slot = "0")]
IMessage SyncProcessMessage(IMessage msg);
/// <summary>Asynchronously processes the given message.</summary>
/// <param name="msg">The message to process.</param>
/// <param name="replySink">The reply sink for the reply message.</param>
/// <returns>An <see cref="T:System.Runtime.Remoting.Messaging.IMessageCtrl" /> interface that provides a way to control asynchronous messages after they have been dispatched.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x06002B4F RID: 11087
[Token(Token = "0x6002B4F")]
[Address(Slot = "1")]
IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink);
}
}