Udostępnij za pośrednictwem


CallControlEventHandler Delegate

Definition

Handles the AnswerRequested and AudioTransferRequested events.

public delegate void CallControlEventHandler(CallControl ^ sender);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Devices.CallControlContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1500476831, 20703, 17492, 188, 99, 77, 61, 1, 182, 25, 88)]
class CallControlEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Devices.CallControlContract), 65536)]
[Windows.Foundation.Metadata.Guid(1500476831, 20703, 17492, 188, 99, 77, 61, 1, 182, 25, 88)]
public delegate void CallControlEventHandler(CallControl sender);
var callControlEventHandlerHandler = function(sender){
/* Your code */
}
Public Delegate Sub CallControlEventHandler(sender As CallControl)

Parameters

sender
CallControl

The CallControl object that raised the event.

Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Media.Devices.CallControlContract (introduced in v1.0)

Applies to