DataPackage.FailFast Method
Call this method to quickly halt the application.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Sub FailFast ( _
ex As Exception _
)
public void FailFast(
Exception ex
)
public:
void FailFast(
Exception^ ex
)
member FailFast :
ex:Exception -> unit
public function FailFast(
ex : Exception
)
Parameters
- ex
Type: System.Exception
The exception that caused the failure.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.