Compartilhar via


SmsSummaryAction.AddError Method

Adds a localized string to the list of errors that the action produces. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As SmsSummaryAction
Dim message As String

instance.AddError(message)

Syntax

'Declaration
Public Sub AddError ( _
    message As String _
)
public void AddError (
    string message
)
public:
void AddError (
    String^ message
)
public void AddError (
    String message
)
public function AddError (
    message : String
)

Parameters

  • message
    [in] Localized message string.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsSummaryAction Class
SmsSummaryAction Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
Errors