IPublisher.Cancel Method ()
Applies To: Windows Server Update Services
Asynchronously called method to attempt to cancel the PublishPackage() API call.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
void Cancel()
void Cancel()
abstract Cancel : unit -> unit
Sub Cancel
Remarks
Some of the steps in the PublishPackage() operation cannot be canceled. If the Cancel request was successfully processed, the API will throw a PackagePublisherOperationCanceledException. If the operation could not be canceled, the PublishPackage() call will return without errors.
See Also
IPublisher Interface
Microsoft.UpdateServices.Administration Namespace
Return to top