| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly ErrorCode As SecurityErrorCode | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As SecurityException Dim value As SecurityErrorCode value = instance.ErrorCode | |
| C# | |
|---|---|
public readonly SecurityErrorCode ErrorCode | |
| Managed Extensions for C++ | |
|---|---|
public: readonly SecurityErrorCode ErrorCode | |
| C++/CLI | |
|---|---|
public: readonly SecurityErrorCode ErrorCode | |
Property Value
A SecurityErrorCode that describes the reason for the exception.This property is read-only.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code