BaseMock.AddMethodCallback(String, EventHandler<CallbackArgs>) 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.
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
- callback
- EventHandler<CallbackArgs>