UserActivity.CreateSession 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.
Creates a UserActivitySession that this user activity will be associated with. You must call this method on the UI thread.
public:
virtual UserActivitySession ^ CreateSession() = CreateSession;
UserActivitySession CreateSession();
public UserActivitySession CreateSession();
function createSession()
Public Function CreateSession () As UserActivitySession
Returns
The created session.
Remarks
When a UserActivity is associated with a UserActivitySession, it indicates that the user is currently engaged in the activity.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla