# OnExtensionStoppedWithContext (/zh-CN/api-reference/rtc/csharp-windows/callback-irtcengineeventhandler-onextensionstoppedwithcontext)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="callback_irtcengineeventhandler_onextensionstoppedwithcontext__prototype"></a>

```csharp
public virtual void OnExtensionStoppedWithContext(ExtensionContext context){ }
```

<a id="callback_irtcengineeventhandler_onextensionstoppedwithcontext__detailed_desc"></a>

### 详情 [#详情]

成功禁用插件后会触发该回调。

<a id="callback_irtcengineeventhandler_onextensionstoppedwithcontext__parameters"></a>

## 参数 [#参数]

<ParameterList>
<a id="context"></a>
<Parameter name="context">

插件上下文信息，详见 [ExtensionContext](/zh-CN/api-reference/rtc/csharp-windows/class-extensioncontext)。

</Parameter>
</ParameterList>

### 所属接口类 [#所属接口类]

- [IRtcEngineEventHandler](/zh-CN/api-reference/rtc/csharp-windows/rtc-interface-class#class_irtcengineeventhandler)
