Share via


FocusSessionManager.GetSession(String) Method

Definition

Gets a FocusSession object representing the focus session with the specified Id.

public:
 virtual FocusSession ^ GetSession(Platform::String ^ id) = GetSession;
FocusSession GetSession(winrt::hstring const& id);
public FocusSession GetSession(string id);
function getSession(id)
Public Function GetSession (id As String) As FocusSession

Parameters

id
String

Platform::String

winrt::hstring

The unique identifier for a focus session.

Returns

The FocusSession associated with the specified ID. It is not verified that the session is currently active.

Applies to