For Babelfish Release 1.11.3.13

EventCompositeGetTargetAsync Method

Helper method to return the SetName of the TARGET definition that is expected to be used with this EventComposite. Calculated in conjunction with the COURSE OF FIRE and targetCollectionName.

Definition

Namespace: Scopos.BabelFish.DataModel.Definitions
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.3.13+877481945de6b4d2a3a561fea58e2494717cd263
C#
public Task<Target> GetTargetAsync(
	CourseOfFire cofDefinition,
	string targetCollectionName
)

Parameters

cofDefinition  CourseOfFire
 
targetCollectionName  String

Return Value

TaskTarget

Exceptions

InvalidOperationExceptionThrown if either 1) the targetCollectionName is not a member of the TARGET COLLECTION as specified by the passed in COURSE OF FIRE or 2) this Event Composite is shot on multiple different TARGETs.
XApiKeyNotSetException
DefinitionNotFoundException
ScoposAPIException

See Also