Initializes an instance of SecurityException with a specified message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public SecurityException( string message ); [C++] public: SecurityException( String* message ); [JScript] public function SecurityException( message : String );
NotSupportedException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The message string. |
SecurityException Class | SecurityException Members | System.Security Namespace | SecurityException Constructor Overload List