Share via


WebAccountManager.PushCookiesAsync(Uri, IVectorView<HttpCookie>) Method

Definition

Pushes cookies asynchronously. Use this to enable single sign-on for a web account in a browser after the user has entered their credentials into the app.

public:
 static IAsyncAction ^ PushCookiesAsync(Uri ^ uri, IVectorView<HttpCookie ^> ^ cookies);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction PushCookiesAsync(Uri const& uri, IVectorView<HttpCookie> const& cookies);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction PushCookiesAsync(System.Uri uri, IReadOnlyList<HttpCookie> cookies);
function pushCookiesAsync(uri, cookies)
Public Shared Function PushCookiesAsync (uri As Uri, cookies As IReadOnlyList(Of HttpCookie)) As IAsyncAction

Parameters

uri
Uri Uri

The Uri to push the cookies to.

cookies

IVectorView<HttpCookie>

IReadOnlyList<HttpCookie>

The cookies to push.

Returns

This method does not return a value.

Attributes

Applies to