Share via


BaseCodeGeneratorWithSite.CreateExceptionMessage Method

Create a message to display to the user, given an exception.

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)

Syntax

'Declaration
Protected Overridable Function CreateExceptionMessage ( _
    exception As Exception _
) As String
protected virtual string CreateExceptionMessage(
    Exception exception
)
protected:
virtual String^ CreateExceptionMessage(
    Exception^ exception
)
abstract CreateExceptionMessage : 
        exception:Exception -> string 
override CreateExceptionMessage : 
        exception:Exception -> string 
protected function CreateExceptionMessage(
    exception : Exception
) : String

Parameters

Return Value

Type: System.String
Message to show to the user..

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace