/// <summary> /// Deletes media profile from DUT /// </summary> /// <param name="token">Token of profile to be deleted</param> protected void DeleteProfile(string token) { MediaClient client = MediaClient; RunStep(() => { client.DeleteProfile(token); }, string.Format(string.Format("Delete profile {0}", token))); DoRequestDelay(); }
public static void DeleteProfile(BaseOnvifTest test, MediaClient client, string profile) { RunStep(test, () => { client.DeleteProfile(profile); }, string.Format(Resources.StepDeleteMediaProfile_Format, profile)); DoRequestDelay(test); }