次の方法で共有


PSArgumentException.Message Property

Definition

See Message

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

Property Value

Remarks

Exception.Message is get-only, but you can effectively set it in a subclass by overriding this virtual property.

Applies to