Unregisters an event handler for the ConnectionStatusChanged event.
Syntax
HRESULT remove_ConnectionStatusChanged(
[in] EventRegistrationToken token
);
Parameters
[in] token
A reference to a token obtained from the add_ConnectionStatusChanged method when the event handler was registered.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | windows.media.streaming.h |