Office.RemoveHandlerOptions interface

Provides options to determine which event handler or handlers are removed.

Properties

asyncContext

A user-defined item of any type that is returned, unchanged, in the asyncContext property of the AsyncResult object that is passed to a callback.

handler

The handler to be removed. If not specified all handlers for the specified event type are removed.

Property Details

asyncContext

A user-defined item of any type that is returned, unchanged, in the asyncContext property of the AsyncResult object that is passed to a callback.

asyncContext?: any

Property Value

any

handler

The handler to be removed. If not specified all handlers for the specified event type are removed.

handler?: string

Property Value

string