mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 17:16:22 +02:00
18 lines
518 B
C#
18 lines
518 B
C#
namespace RemoteExec.Shared.Models;
|
|
|
|
/// <summary>
|
|
/// Represents the result of a remote method execution.
|
|
/// </summary>
|
|
public sealed class RemoteExecutionResult
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the return value of the executed method, or null if the method returns void.
|
|
/// </summary>
|
|
public object? Result { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the exception message if the execution failed, or null if successful.
|
|
/// </summary>
|
|
public string? Exception { get; set; }
|
|
}
|