# OnExtensionStartedWithContext (/zh-CN/api-reference/rtc/csharp-windows/callback-irtcengineeventhandler-onextensionstartedwithcontext) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```csharp public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){ } ``` ### 详情 [#详情] 成功启用插件后会触发该回调。 ## 参数 [#参数] 插件上下文信息,详见 [ExtensionContext](/zh-CN/api-reference/rtc/csharp-windows/class-extensioncontext)。 ### 所属接口类 [#所属接口类] - [IRtcEngineEventHandler](/zh-CN/api-reference/rtc/csharp-windows/rtc-interface-class#class_irtcengineeventhandler)