An object containing a formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed, as well as zero or more objects to format the placeholders. If the phrase does not start with the word because, it is prepended automatically.explaining why the assertion is needed.
In This Topic
BecauseOf(Reason) Method
In This Topic
Adds an explanation of why the assertion is supposed to succeed to the scope.
An object containing a formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed, as well as zero or more objects to format the placeholders. If the phrase does not start with the word because, it is prepended automatically.explaining why the assertion is needed.