Share via


PackagePublisherOperationCanceledException Constructor (String, Exception)

 

Applies To: Windows Server Update Services

Initializes a new instance of the PackagePublisherOperationCanceledException class.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public PackagePublisherOperationCanceledException(
    string message,
    Exception innerException
)
public:
PackagePublisherOperationCanceledException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> PackagePublisherOperationCanceledException
Public Sub New (
    message As String,
    innerException As Exception
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • innerException
    Type: System.Exception

    The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

See Also

PackagePublisherOperationCanceledException Overload
PackagePublisherOperationCanceledException Class
Microsoft.UpdateServices.Administration Namespace

Return to top