Sdílet prostřednictvím


VoipCallCoordinator.RequestNewOutgoingCallWithOptions Method

Definition

Requests a new call object from the system by using an OutgoingVoipCallOptions object. Call this method from your VoIP app to tell the system that there's a new outgoing call.

public:
 virtual VoipPhoneCall ^ RequestNewOutgoingCallWithOptions(OutgoingVoipPhoneCallOptions ^ callOptions) = RequestNewOutgoingCallWithOptions;
/// [Windows.Foundation.Metadata.Experimental]
VoipPhoneCall RequestNewOutgoingCallWithOptions(OutgoingVoipPhoneCallOptions const& callOptions);
[Windows.Foundation.Metadata.Experimental]
public VoipPhoneCall RequestNewOutgoingCallWithOptions(OutgoingVoipPhoneCallOptions callOptions);
function requestNewOutgoingCallWithOptions(callOptions)
Public Function RequestNewOutgoingCallWithOptions (callOptions As OutgoingVoipPhoneCallOptions) As VoipPhoneCall

Parameters

callOptions
OutgoingVoipPhoneCallOptions

An object representing the options to use when creating the new call.

Returns

An object representing the new initiated call in the outgoing state.

Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.ApplicationModel.Calls.CallsVoipContract (introduced in v5.0)
App capabilities
phoneCallHistory phoneCallHistorySystem voipCall

Remarks

Use this method to create a new VoipPhoneCall object. You can use a VoipPhoneCall object to send in-app call notifications, and to handle events that the VoipPhoneCall raises. See VoipPhoneCall for more info about how to work with those notifications and events.

Applies to

See also