LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Struct MigrationResult<TResult>

    This class represents the result of a migration operation.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Sdk.Server.Migrations
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public struct MigrationResult<TResult> where TResult : class
    Type Parameters
    Name Description
    TResult

    the type of the result

    Remarks

    In the case of a read operation the result will be this type. Write operations may need to return multiple results and therefore use the MigrationWriteResult<TResult> type.

    Properties

    | Edit this page View Source

    Exception

    Any exception which happened for the operation. Will not be set if the result was successful.

    Declaration
    public Exception Exception { get; }
    Property Value
    Type Description
    Exception
    | Edit this page View Source

    IsSuccessful

    True if the result was a success.

    Declaration
    public bool IsSuccessful { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Origin

    The origin of the result.

    Declaration
    public MigrationOrigin Origin { get; }
    Property Value
    Type Description
    MigrationOrigin
    | Edit this page View Source

    Value

    The value of a successful result.

    Declaration
    public TResult Value { get; }
    Property Value
    Type Description
    TResult
    Remarks

    A failed result will not set the value.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX