PSSecurityException.Message Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exception.Message is get-only, but you can effectively set it in a subclass by overriding this virtual property.
public:
virtual property System::String ^ Message { System::String ^ get(); };
public:
virtual property Platform::String ^ Message { Platform::String ^ get(); };
public override string Message { get; }
member this.Message : string
Public Overrides ReadOnly Property Message As String