IRemoteSettings2.SubscribeActions<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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