SecurityException Constructor (String, Exception)
Initializes a new SecurityException instance.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Dichiarazione
Public Sub New ( _
message As String, _
ex As Exception _
)
public SecurityException(
string message,
Exception ex
)
public:
SecurityException(
String^ message,
Exception^ ex
)
new :
message:string *
ex:Exception -> SecurityException
public function SecurityException(
message : String,
ex : Exception
)
Parameters
- message
Type: System.String
A message that describes the error.
- ex
Type: System.Exception
The exception that caused this error.
.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.