OutputWindowHelper.OutputString Method (IServiceProvider, Exception)
Prints exception message in the general output window pane.
Namespace: Microsoft.VisualStudio.Services.Integration
Assembly: Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)
Syntax
'Declaration
Public Shared Sub OutputString ( _
serviceProvider As IServiceProvider, _
e As Exception _
)
public static void OutputString(
IServiceProvider serviceProvider,
Exception e
)
public:
static void OutputString(
IServiceProvider^ serviceProvider,
Exception^ e
)
static member OutputString :
serviceProvider:IServiceProvider *
e:Exception -> unit
public static function OutputString(
serviceProvider : IServiceProvider,
e : Exception
)
Parameters
- serviceProvider
Type: System.IServiceProvider
- e
Type: System.Exception
.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.