SmsPageControl.AddActionErrorMessage Method

Adds an error message to the specified action. 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 actionId As String
Dim message As String
Dim returnValue As SmsSummaryAction

returnValue = Me.AddActionErrorMessage(actionId, message)

Syntax

'Declaration
Protected Function AddActionErrorMessage ( _
    actionId As String, _
    message As String _
) As SmsSummaryAction
protected SmsSummaryAction AddActionErrorMessage (
    string actionId,
    string message
)
protected:
SmsSummaryAction^ AddActionErrorMessage (
    String^ actionId, 
    String^ message
)
protected SmsSummaryAction AddActionErrorMessage (
    String actionId, 
    String message
)
protected function AddActionErrorMessage (
    actionId : String, 
    message : String
) : SmsSummaryAction

Parameters

  • actionId
    [in] Action identifier.
  • message
    [in] Error message.

Return Value

SmsSummaryAction object.

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

SmsPageControl Class
SmsPageControl Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
SmsSummaryAction