XboxLiveEndpointPairTemplate.InboundEndpointPairCreated Event

Definition

Event raised when a remote device successfully creates an endpoint pair from itself to the local machine. Details about the new endpoint pair can be found in the event arguments.

Important

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

// Register
event_token InboundEndpointPairCreated(TypedEventHandler<XboxLiveEndpointPairTemplate, XboxLiveInboundEndpointPairCreatedEventArgs const&> const& handler) const;

// Revoke with event_token
void InboundEndpointPairCreated(event_token const* cookie) const;

// Revoke with event_revoker
XboxLiveEndpointPairTemplate::InboundEndpointPairCreated_revoker InboundEndpointPairCreated(auto_revoke_t, TypedEventHandler<XboxLiveEndpointPairTemplate, XboxLiveInboundEndpointPairCreatedEventArgs const&> const& handler) const;
public event TypedEventHandler<XboxLiveEndpointPairTemplate,XboxLiveInboundEndpointPairCreatedEventArgs> InboundEndpointPairCreated;
function onInboundEndpointPairCreated(eventArgs) { /* Your code */ }
xboxLiveEndpointPairTemplate.addEventListener("inboundendpointpaircreated", onInboundEndpointPairCreated);
xboxLiveEndpointPairTemplate.removeEventListener("inboundendpointpaircreated", onInboundEndpointPairCreated);
- or -
xboxLiveEndpointPairTemplate.oninboundendpointpaircreated = onInboundEndpointPairCreated;
Public Custom Event InboundEndpointPairCreated As TypedEventHandler(Of XboxLiveEndpointPairTemplate, XboxLiveInboundEndpointPairCreatedEventArgs) 

Event Type

Applies to