共用方式為


WebAuthenticationAddAccountResponse Class

Definition

Contains the response data for an add account operation.

public ref class WebAuthenticationAddAccountResponse sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebAuthenticationAddAccountResponseFactory, 983040, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WebAuthenticationAddAccountResponse final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebAuthenticationAddAccountResponseFactory), 983040, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WebAuthenticationAddAccountResponse
function WebAuthenticationAddAccountResponse(webAccount)
Public NotInheritable Class WebAuthenticationAddAccountResponse
Inheritance
Object Platform::Object IInspectable WebAuthenticationAddAccountResponse
Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Remarks

This data is included in the WebAuthenticationAddAccountResult object that is returned by the WebAuthenticationCoreManager.AddAccountWithTransferTokenAsync method.

Constructors

WebAuthenticationAddAccountResponse(WebAccount)

The constructor for the WebAuthenticationAddAccountResponse class.

Properties

Properties

A dictionary of properties that represent the response data for an AddAccountWithTransferTokenAsync operation.

WebAccount

The WebAccount object that contains the data to identify an account from a web account provider.

Applies to

See also