Skip to main content

Class RunMetadataInfoLookupClient

An object that manages the lookup of Run Metadata for Xperiflow Routines.

Namespace: Workspace.XBR.Xperiflow.Routines.Runs

Assembly: Xperiflow.dll

Declaration
public class RunMetadataInfoLookupClient : IRunMetadataInfoLookupClient

Implements: Workspace.XBR.Xperiflow.Routines.Runs.IRunMetadataInfoLookupClient

Methods​

GetByInstanceIdentifierAsync(string, CancellationToken)​

Retrieves a list of RunMetadata objects by Routine Instance Id. If there is no Routine Instance with the given Id, an empty list is returned.

Declaration
public Task<List<RunMetadataInfo>> GetByInstanceIdentifierAsync(string instanceIdentifier, CancellationToken cancellationToken = default)
Returns​

Task<System.Collections.Generic.List{Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo}>

A list of RunMetadata objects.

Parameters​
TypeNameDescription
System.StringinstanceIdentifierThe Routine Instance Id to filter by. Note that this is case-sensitive.
System.Threading.CancellationTokencancellationToken

GetByInstanceIdAndMethodNameAsync(string, string, CancellationToken)​

Retrieves a list of RunMetadata objects by Routine Instance Id and Method Name. If there is no Routine Instance with the given Id and Method Name, an empty list is returned.

Declaration
public Task<List<RunMetadataInfo>> GetByInstanceIdAndMethodNameAsync(string instanceIdentifier, string methodName, CancellationToken cancellationToken = default)
Returns​

Task<System.Collections.Generic.List{Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo}>

A list of RunMetadata objects

Parameters​
TypeNameDescription
System.StringinstanceIdentifierThe Routine Instance Id to filter by. Note that this is case-sensitive.
System.StringmethodNameThe Routine Method name to filter by.
System.Threading.CancellationTokencancellationToken

GetByInstanceNameAsync(string, CancellationToken)​

Get a list of RunMetadata objects by the Routine Instance Name. If there is no Routine Instance with the given Name, an empty list is returned.

Declaration
public Task<List<RunMetadataInfo>> GetByInstanceNameAsync(string instanceName, CancellationToken cancellationToken = default)
Returns​

Task<System.Collections.Generic.List{Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo}>

A list of RunMetadata objects

Parameters​
TypeNameDescription
System.StringinstanceNameThe Routine Instance Name to filter by.
System.Threading.CancellationTokencancellationToken

GetByRunIdentifierAsync(string, string, CancellationToken)​

Retrieves a RunMetadata object by the Routine Run Id. If there is no Run with the given Id, null is returned.

Declaration
public Task<RunMetadataInfo?> GetByRunIdentifierAsync(string instanceIdentifier, string runIdentifier, CancellationToken cancellationToken = default)
Returns​

Task< Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo >

A RunMetadata object. null is returned in if there is not matching Run

Parameters​
TypeName
System.StringinstanceIdentifier
System.StringrunIdentifier
System.Threading.CancellationTokencancellationToken

GetByRunNameAsync(string, string, CancellationToken)​

Retrieves a RunMetadata object by the Routine Run Name. If there is no Run with the given runName, null is returned;

Declaration
public Task<RunMetadataInfo?> GetByRunNameAsync(string instanceIdentifier, string runName, CancellationToken cancellationToken = default)
Returns​

Task< Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo >

Parameters​
TypeNameDescription
System.StringinstanceIdentifierThe Routine Instance Id to filter by.
System.StringrunNameThe Routine Run name to retrieve.
System.Threading.CancellationTokencancellationToken

GetByInstanceIdentifierAndCallableTypeAsync(string, RoutineCallableType, CancellationToken)​

Declaration
public Task<List<RunMetadataInfo>> GetByInstanceIdentifierAndCallableTypeAsync(string instanceIdentifier, RoutineCallableType routineCallableType, CancellationToken cancellationToken = default)
Returns​

Task<System.Collections.Generic.List{Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo}>

Parameters​
TypeName
System.StringinstanceIdentifier
Workspace.XBR.Xperiflow.Routines.RoutineCallableTyperoutineCallableType
System.Threading.CancellationTokencancellationToken

GetLatestByInstanceIdentifierAsync(string, CancellationToken)​

Retrieves a the latest RunMetadata object by Run's StartTime and the Routine Instance Id. If there is no Run with the given Id, null is returned.

Declaration
public Task<RunMetadataInfo?> GetLatestByInstanceIdentifierAsync(string instanceIdentifier, CancellationToken cancellationToken = default)
Returns​

Task< Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo >

A RunMetadata object. null is returned in if there is not matching Run

Parameters​
TypeNameDescription
System.StringinstanceIdentifierThe Routine Instance Id to filter by. Note that this is case-sensitive.
System.Threading.CancellationTokencancellationToken

GetLatestByInstanceNameAsync(string, CancellationToken)​

Retrieves a the latest RunMetadata object by Run's StartTime and the Routine Instance Name. If there is no Run with the given Id, null is returned.

Declaration
public Task<RunMetadataInfo?> GetLatestByInstanceNameAsync(string instanceName, CancellationToken cancellationToken = default)
Returns​

Task< Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo >

A RunMetadata object. null is returned in if there is not matching Run

Parameters​
TypeNameDescription
System.StringinstanceNameThe Routine Instance Name to filter by.
System.Threading.CancellationTokencancellationToken

GetLatestByInstanceIdAndMethodNameAsync(string, string, CancellationToken)​

Retrieves a the latest RunMetadata object by Run's StartTime, the Routine Instance Id, and the Method Name. If there is no Run with the given Id, null is returned.

Declaration
public Task<RunMetadataInfo?> GetLatestByInstanceIdAndMethodNameAsync(string instanceIdentifier, string methodName, CancellationToken cancellationToken = default)
Returns​

Task< Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo >

A RunMetadata object. null is returned in if there is not matching Run

Parameters​
TypeNameDescription
System.StringinstanceIdentifierThe Routine Instance Id to filter by. Note that this is case-sensitive.
System.StringmethodNameThe Routine Method name to filter by.
System.Threading.CancellationTokencancellationToken

GetLatestByInstanceNameAndMethodNameAsync(string, string, CancellationToken)​

Retrieves a RunMetadata object by the latest Run's StartTime, the Routine Instance Name, and the Method Name. If there is no Run with the given Id, null is returned.

Declaration
public Task<RunMetadataInfo?> GetLatestByInstanceNameAndMethodNameAsync(string instanceName, string methodName, CancellationToken cancellationToken = default)
Returns​

Task< Workspace.XBR.Xperiflow.Routines.Runs.RunMetadataInfo >

A RunMetadata object. null is returned in if there is not matching Run

Parameters​
TypeNameDescription
System.StringinstanceNameThe Routine Instance Name to filter by.
System.StringmethodNameThe Routine Method name to filter by.
System.Threading.CancellationTokencancellationToken

Implements​

Inherited Members​

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?