FocusSessionManager.GetSession(String) 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.
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.