Files
2026-04-10 22:50:51 +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: 0x02000513 RID: 1299
[Token(Token = "0x2000513")]
[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: 0x06002941 RID: 10561
[Token(Token = "0x6002941")]
[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: 0x06002942 RID: 10562
[Token(Token = "0x6002942")]
[Address(Slot = "1")]
IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink);
}
}