WrappedException Constructor (Exception, Boolean)
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
exception As Exception, _
includeErrorDetail As Boolean _
)
public WrappedException(
Exception exception,
bool includeErrorDetail
)
public:
WrappedException(
Exception^ exception,
bool includeErrorDetail
)
new :
exception:Exception *
includeErrorDetail:bool -> WrappedException
public function WrappedException(
exception : Exception,
includeErrorDetail : boolean
)
Parameters
- exception
Type: System.Exception
- includeErrorDetail
Type: System.Boolean
.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.