Share via


IRemoteSettings2.SubscribeActions<T> Method

Definition

Subscribes to triggered remote actions of type T on the given action path.

public:
generic <typename T>
 void SubscribeActions(System::String ^ actionPath, Action<Microsoft::VisualStudio::RemoteSettings::ActionWrapper<T> ^> ^ callback);
public void SubscribeActions<T> (string actionPath, Action<Microsoft.VisualStudio.RemoteSettings.ActionWrapper<T>> callback);
abstract member SubscribeActions : string * Action<Microsoft.VisualStudio.RemoteSettings.ActionWrapper<'T>> -> unit
Public Sub SubscribeActions(Of T) (actionPath As String, callback As Action(Of ActionWrapper(Of T)))

Type Parameters

T

Parameters

actionPath
String

Unique path to identify the actions to subscribe

callback
Action<ActionWrapper<T>>

Callback to be invoked with each individual action when it becomes available

Applies to