Struct MigrationResult<TResult>
This class represents the result of a migration operation.
Inherited Members
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 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 | 
Origin
The origin of the result.
Declaration
public MigrationOrigin Origin { get; }
  Property Value
| Type | Description | 
|---|---|
| MigrationOrigin | 
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.