14.1 Beta 1 SDK
PluginConnectionResult14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Connections.PluginConnectionResultReports a connection interaction outcome with localized validation errors.
Constructors
PluginConnectionResult 14.1 Beta
public PluginConnectionResult(Unbroken.LaunchBox.Plugins.Connections.PluginConnectionOutcome outcome, string? connectionId = null, Unbroken.LaunchBox.Plugins.PluginText? errorMessage = null, System.Collections.Generic.IReadOnlyDictionary<string, Unbroken.LaunchBox.Plugins.PluginText>? fieldErrors = null)Properties
public string? ConnectionId { get; }public Unbroken.LaunchBox.Plugins.PluginText? ErrorMessage { get; }public System.Collections.Generic.IReadOnlyDictionary<string, Unbroken.LaunchBox.Plugins.PluginText> FieldErrors { get; }public Unbroken.LaunchBox.Plugins.Connections.PluginConnectionOutcome Outcome { get; }public bool Succeeded { get; }
ConnectionId 14.1 Beta
public string? ConnectionId { get; }Gets the connection handle on success.
ErrorMessage 14.1 Beta
public Unbroken.LaunchBox.Plugins.PluginText? ErrorMessage { get; }Gets the optional localized failure message.
FieldErrors 14.1 Beta
public System.Collections.Generic.IReadOnlyDictionary<string, Unbroken.LaunchBox.Plugins.PluginText> FieldErrors { get; }Gets an immutable snapshot of localized field errors.
Outcome 14.1 Beta
public Unbroken.LaunchBox.Plugins.Connections.PluginConnectionOutcome Outcome { get; }Gets the outcome.
Succeeded 14.1 Beta
public bool Succeeded { get; }Gets whether a usable connection was established.