Freigeben über


Class SessionContextResult

Base result class for all session related async queries. This result has an ErrorCode property to test whether the query was successful. In case of error, additional information can be gathered through the Context object. See SessionGeneralContext

class Microsoft::Azure::RemoteRendering::SessionContextResult

Properties

Context

In case of failure (ErrorCode != Success), additional information such as the http response code and an error string can be gathered through this object. In case of success, this object is still valid, but does not provide additional information.

auto GetContext() const noexcept -> Microsoft::Azure::RemoteRendering::SessionGeneralContext;

ErrorCode

Indicates whether the query was successful or not. See Result for details in case of failure. In case of failure, additional information can be gathered from SessionContextResult.Context.

auto GetErrorCode() const noexcept -> Microsoft::Azure::RemoteRendering::Result;