/// <summary> /// Submits a resource not found event. /// </summary> /// <param name="client">The client instance.</param> /// <param name="resource">The name of the resource that was not found.</param> public static void SubmitNotFound(this ExceptionlessClient client, string resource) { if (client == null) { throw new ArgumentNullException(nameof(client)); } client.CreateNotFound(resource).Submit(); }
/// <summary> /// Submits a resource not found event. /// </summary> /// <param name="client">The client instance.</param> /// <param name="resource">The name of the resource that was not found.</param> public static void SubmitNotFound(this ExceptionlessClient client, string resource) { client.CreateNotFound(resource).Submit(); }