BaseCodeGeneratorWithSite.CreateExceptionMessage 方法
命名空间: Microsoft.VisualStudio.TextTemplating.VSHost
程序集: Microsoft.VisualStudio.TextTemplating.VSHost.11.0(在 Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll 中)
语法
声明
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
参数
- exception
类型:System.Exception
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。