ArgumentException.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.
Gets the error message and the parameter name, or only the error message if no parameter name is set.
public:
virtual property System::String ^ Message { System::String ^ get(); };
public override string Message { get; }
member this.Message : string
Public Overrides ReadOnly Property Message As String
Property Value
A text string describing the details of the exception. The value of this property takes one of two forms:
Condition | Value |
---|---|
The ParamName is a null reference (Nothing in Visual Basic) or of zero length.
| The Message string passed to the constructor. |
The ParamName is not null and has a length greater than zero. | The Message string appended with the name of the invalid parameter. |
Remarks
This property overrides Message. The error message should be localized.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.