C# Class NuGet.Services.Work.InvocationResult

Datei anzeigen Open project: NuGet/NuGet.Services.Work Class Usage Examples

Public Methods

Method Description
Completed ( ) : InvocationResult
Completed ( System.TimeSpan rescheduleIn ) : InvocationResult
Faulted ( Exception ex ) : InvocationResult
Faulted ( Exception ex, System.TimeSpan rescheduleIn ) : InvocationResult
Suspended ( JobContinuation continuation ) : InvocationResult

Private Methods

Method Description
ConsistencyCheck ( ) : void
InvocationResult ( ExecutionResult result ) : System
InvocationResult ( ExecutionResult result, Exception exception ) : System
InvocationResult ( ExecutionResult result, Exception exception, System.TimeSpan rescheduleIn ) : System
InvocationResult ( ExecutionResult result, JobContinuation continuation ) : System
InvocationResult ( ExecutionResult result, System.TimeSpan rescheduleIn ) : System
InvocationResult ( ExecutionResult result, System.TimeSpan rescheduleIn, JobContinuation continuation, Exception exception ) : System

Method Details

Completed() public static method

public static Completed ( ) : InvocationResult
return InvocationResult

Completed() public static method

public static Completed ( System.TimeSpan rescheduleIn ) : InvocationResult
rescheduleIn System.TimeSpan
return InvocationResult

Faulted() public static method

public static Faulted ( Exception ex ) : InvocationResult
ex System.Exception
return InvocationResult

Faulted() public static method

public static Faulted ( Exception ex, System.TimeSpan rescheduleIn ) : InvocationResult
ex System.Exception
rescheduleIn System.TimeSpan
return InvocationResult

Suspended() public static method

public static Suspended ( JobContinuation continuation ) : InvocationResult
continuation JobContinuation
return InvocationResult