Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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


Feedback

Was this page helpful?