Struct MigrationMethod.Result<TResult>
Results of a method associated with a migration origin.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Migrations
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public readonly struct MigrationMethod.Result<TResult> where TResult : class
Type Parameters
Name | Description |
---|---|
TResult | the type of the result |
Properties
| Edit this page View SourceException
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 |
IsSuccessful
True if the result was a success.
Declaration
public bool IsSuccessful { get; }
Property Value
Type | Description |
---|---|
bool |
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.