/// <remarks/> public void GetNewViolationsAsync(ViolationRequest request) { this.GetNewViolationsAsync(request, null); }
/// <remarks/> public void GetNewViolationsAsync(ViolationRequest request, object userState) { if ((this.GetNewViolationsOperationCompleted == null)) { this.GetNewViolationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewViolationsOperationCompleted); } this.InvokeAsync("GetNewViolations", new object[] { request}, this.GetNewViolationsOperationCompleted, userState); }
public ViolationResponse GetNewViolations(ViolationRequest request) { object[] results = this.Invoke("GetNewViolations", new object[] { request}); return ((ViolationResponse)(results[0])); }