@@ -130,11 +130,12 @@ See [API Details](#api-details) section below for API reference.
130130 COREWEBVIEW2_UPDATE_RUNTIME_STATUS_FAILED,
131131} COREWEBVIEW2_UPDATE_RUNTIME_STATUS;
132132
133- /// The TryUpdateRuntime result.
133+
134+ /// The TryUpdateRuntime operation result.
134135[uuid(DD503E49-AB19-47C0-B2AD-6DDD09CC3E3A), object, pointer_default(unique)]
135136interface ICoreWebView2ExperimentalUpdateRuntimeResult : IUnknown {
136137
137- /// The status for the TryUpdateRuntime method .
138+ /// The status for the TryUpdateRuntime operation .
138139 [propget] HRESULT Status(
139140 [ out, retval ] COREWEBVIEW2_UPDATE_RUNTIME_STATUS * status);
140141
@@ -146,7 +147,7 @@ interface ICoreWebView2ExperimentalUpdateRuntimeResult : IUnknown {
146147[uuid(F1D2D722-3721-499C-87F5-4C405260697A), object, pointer_default(unique)]
147148interface ICoreWebView2ExperimentalTryUpdateRuntimeCompletedHandler : IUnknown {
148149
149- /// Provides the result for the TryUpdateRuntime method .
150+ /// Provides the result for the TryUpdateRuntime operation .
150151 /// `errorCode` will be S_OK if the update operation can be performed
151152 /// normally, regardless of whether we could update the Edge WebView2
152153 /// Runtime. If an unexpected error interrupts the update operation, error
@@ -165,7 +166,7 @@ interface ICoreWebView2ExperimentalTryUpdateRuntimeCompletedHandler : IUnknown {
165166interface ICoreWebView2ExperimentalEnvironment3 : IUnknown {
166167 /// Try to update installed Microsoft Edge WebView2 Runtime.
167168 /// This will potentially result in a new version of the Edge Webview2
168- /// Runtime being installed and `NewBrowserVersionAvailable` event fired.
169+ /// Runtime being installed and `NewBrowserVersionAvailable` event being fired.
169170 /// There is no guarantee on the order of that event being fired and
170171 /// TryUpdateRuntimeis completed handler being invoked. Besides the
171172 /// `NewBrowserVersionAvailable` event, there will be no impact to any
@@ -175,10 +176,10 @@ interface ICoreWebView2ExperimentalEnvironment3 : IUnknown {
175176 /// The TryUpdateRuntime method is only supported for an installed Edge WebView2
176177 /// Runtime. When running a fixed version Edge WebView2 Runtime or non stable
177178 /// channel Edge browser, this API will return `HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED)`.
178- /// There could only be one active TryUpdateRuntime operation, calling the API
179+ /// There could only be one active TryUpdateRuntime operation, calling this API
179180 /// before completed handler for previous call is invoked will fail with
180181 /// `HRESULT_FROM_WIN32(ERROR_BUSY)`.
181- /// Calling the API repeatedly in a short period of time, will also fail with
182+ /// Calling this API repeatedly in a short period of time, will also fail with
182183 /// `HRESULT_FROM_WIN32(ERROR_BUSY)`. Don't call the API more than 3 times
183184 /// within 5 minutes.
184185 /// The TryUpdateRuntime operation is associated with the CoreWebView2Environment
@@ -189,11 +190,11 @@ interface ICoreWebView2ExperimentalEnvironment3 : IUnknown {
189190 /// result object with `Status` of COREWEBVIEW2_UPDATE_RUNTIME_STATUS_FAILED and
190191 /// `UpdateError` as `E_ABORT`.
191192 ///
193+ /// \snippet AppWindow.cpp UpdateRuntime
192194 HRESULT TryUpdateRuntime(
193195 [in] ICoreWebView2ExperimentalTryUpdateRuntimeCompletedHandler *
194196 handler);
195197}
196-
197198```
198199## .NET WinRT
199200``` c#
0 commit comments