DVTk API
AssertMessageCountBetweenActors Method (actorName1, actorName2, dimseCommandName, expectedCount)
DVTkDvtk.IheActors.ActorsActorsTransactionLogAssertMessageCountBetweenActors(ActorName, ActorName, String, Int32)
DVTk API

[This is preliminary documentation and is subject to change.]

Assert that the correct number of the given DICOM message has been seen between the two given actors. Stop after the first occurence of the given dimseCommandName in the transaction log.
Declaration Syntax
C#Visual BasicVisual C++
public bool AssertMessageCountBetweenActors(
	ActorName actorName1,
	ActorName actorName2,
	string dimseCommandName,
	int expectedCount
)
Public Function AssertMessageCountBetweenActors ( _
	actorName1 As ActorName, _
	actorName2 As ActorName, _
	dimseCommandName As String, _
	expectedCount As Integer _
) As Boolean
public:
bool AssertMessageCountBetweenActors(
	ActorName^ actorName1, 
	ActorName^ actorName2, 
	String^ dimseCommandName, 
	int expectedCount
)
Parameters
actorName1 (ActorName)
First actor name in transaction.
actorName2 (ActorName)
Second actor name in transaction.
dimseCommandName (String)
DICOM command name.
expectedCount (Int32)
Number of times the given DICOM command was expected to occur between these actors.
Return Value
bool - indication if the assertion was true or false.

Assembly: DvtkIheActors (Module: DvtkIheActors) Version: 0.0.0.0