WebAccountManager.PushCookiesAsync(Uri, IVectorView<HttpCookie>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- cookies
The cookies to push.
Returns
This method does not return a value.
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for