Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
OfficeExtension.EventHandlerResult class
- Package:
- office
Enables the removal of an event handler. Returned by the EventHandlers.add method.
Note: The same RequestContext object that the handler was added in must be used when removing the handler. More information can be found in Remove an event handler.
Constructors
| (constructor)(context, handlers, handler) | Constructs a new instance of the |
Properties
| context | The request context associated with the object |
Methods
| remove() |
Constructor Details
(constructor)(context, handlers, handler)
Constructs a new instance of the EventHandlerResult class
constructor(context: ClientRequestContext, handlers: EventHandlers<T>, handler: (args: T) => Promise<any>);
Parameters
- handlers
- handler
-
(args: T) => Promise<any>
Property Details
context
The request context associated with the object
context: ClientRequestContext;
Property Value
Method Details
remove()
remove(): void;
Returns
void
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins
Feedback
Was this page helpful?
