Bagikan melalui


CallControlEventHandler Delegasikan

Definisi

Menangani peristiwa AnswerRequested dan AudioTransferRequested .

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)

Parameter

sender
CallControl

Objek CallControl yang menaikkan peristiwa.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Media.Devices.CallControlContract (diperkenalkan dalam v1.0)

Berlaku untuk