Throws a PatternUsageErrorException with the specified message including a short heading that identifies the attribute type.

Namespace:  Gallio.Framework.Pattern
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
protected void ThrowUsageErrorException(
	string message,
	Exception ex
)
Visual Basic (Declaration)
Protected Sub ThrowUsageErrorException ( _
	message As String, _
	ex As Exception _
)

Parameters

message
Type: System..::.String
The message, not null.
ex
Type: System..::.Exception
The associated exception, or null if none.

Exceptions

See Also