RequiresAdminRightsException Constructor (String, Exception)
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣告
Public Sub New ( _
message As String, _
inner As Exception _
)
public RequiresAdminRightsException(
string message,
Exception inner
)
public:
RequiresAdminRightsException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> RequiresAdminRightsException
public function RequiresAdminRightsException(
message : String,
inner : Exception
)
Parameters
- message
Type: System.String
- inner
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.
See Also
Reference
RequiresAdminRightsException Class