Adds a warning 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

Visual Basic
Dim actionId As String
Dim message As String
Dim returnValue As SmsSummaryAction

returnValue = Me.AddActionWarningMessage(actionId, message)

Syntax

Visual Basic
Protected Function AddActionWarningMessage ( _
		actionId As String, _
		message As String _
) As SmsSummaryAction
C#
protected SmsSummaryAction AddActionWarningMessage (
		string actionId,
		string message
)
C++
protected:
SmsSummaryAction^ AddActionWarningMessage (
		String^ actionId, 
		String^ message
)
J#
protected SmsSummaryAction AddActionWarningMessage (
		String actionId, 
		String message
)
JScript
protected function AddActionWarningMessage (
		actionId : String, 
		message : String
) : SmsSummaryAction

Parameters

actionId

[in] Action identifier.

message

[in] Warning 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