BaseCodeGeneratorWithSite.CreateExceptionMessage Method
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.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
- exception
Type: System.Exception
Return Value
Type: System.String
.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.