Condividi tramite


Proprietà ErrorMessage

Gets the error message returned when a parameter value has failed validation.

Spazio dei nomi  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

Sintassi

'Dichiarazione
Public Property ErrorMessage As String
    Get
    Set
'Utilizzo
Dim instance As ItemParameter
Dim value As String

value = instance.ErrorMessage

instance.ErrorMessage = value
public string ErrorMessage { get; set; }
public:
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
member ErrorMessage : string with get, set
function get ErrorMessage () : String
function set ErrorMessage (value : String)

Valore proprietà

Tipo: System. . :: . .String
A String value that contains the error message returned when a parameter value has failed validation.

Osservazioni

This property may be used to display error messages to the user.