Files
RemoteExec/RemoteExec.Shared/RemoteExecutionResult.cs
T
2025-12-23 15:15:18 +01:00

18 lines
511 B
C#

namespace RemoteExec.Shared;
/// <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; }
}