Udostępnij za pośrednictwem


SmsSummaryActionGroup.AddWarning Method

Adds a localized string to the list of warnings that are produced by the action with the specified identifier. 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 SmsSummaryActionGroup
Dim actionId As String
Dim message As String

instance.AddWarning(actionId, message)

Syntax

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

Parameters

  • actionId
    [in] Identifier of the action.
  • 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

SmsSummaryActionGroup Class
SmsSummaryActionGroup Members
Microsoft.ConfigurationManagement.AdminConsole Namespace