Share via


BaseMock.AddMethodCallback(String, EventHandler<CallbackArgs>) Method

Definition

public:
 void AddMethodCallback(System::String ^ methodName, EventHandler<Microsoft::VsSDK::UnitTestLibrary::CallbackArgs ^> ^ callback);
public void AddMethodCallback (string methodName, EventHandler<Microsoft.VsSDK.UnitTestLibrary.CallbackArgs> callback);
member this.AddMethodCallback : string * EventHandler<Microsoft.VsSDK.UnitTestLibrary.CallbackArgs> -> unit
Public Sub AddMethodCallback (methodName As String, callback As EventHandler(Of CallbackArgs))

Parameters

methodName
String

Applies to