Compartir a través de


SmsMultipleResultException Constructor (String, Generic List)

Initializes a new instance of SmsMultipleResultException for the specified message and set of failed objects.

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

Usage

'Usage
Dim message As String
Dim failedObjects As List(Of ResultObjectBase)

Dim instance As New SmsMultipleResultException(message, failedObjects)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    failedObjects As List(Of ResultObjectBase) _
)
public SmsMultipleResultException (
    string message,
    List<ResultObjectBase> failedObjects
)
public:
SmsMultipleResultException (
    String^ message, 
    List<ResultObjectBase^>^ failedObjects
)
public SmsMultipleResultException (
    String message, 
    List<ResultObjectBase> failedObjects
)
public function SmsMultipleResultException (
    message : String, 
    failedObjects : List<ResultObjectBase>
)

Parameters

  • message
    [in] Message for which to create a multiple result exception.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsMultipleResultException Class
SmsMultipleResultException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
FailedObjects