### YamlMime:ManagedReference items: - uid: Microsoft.SqlTools.ServiceLayer.QueryExecution.Query.QueryAsyncErrorEventHandler commentId: T:Microsoft.SqlTools.ServiceLayer.QueryExecution.Query.QueryAsyncErrorEventHandler id: Query.QueryAsyncErrorEventHandler parent: Microsoft.SqlTools.ServiceLayer.QueryExecution children: [] langs: - csharp - vb name: Query.QueryAsyncErrorEventHandler nameWithType: Query.QueryAsyncErrorEventHandler fullName: Microsoft.SqlTools.ServiceLayer.QueryExecution.Query.QueryAsyncErrorEventHandler type: Delegate source: remote: path: src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Query.cs branch: master repo: https://kburtram:67c6623fc506400046096af249535f684d9ea40b@github.com/Microsoft/sqltoolsservice.git id: QueryAsyncErrorEventHandler path: ../src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Query.cs startLine: 110 assemblies: - Microsoft.SqlTools.ServiceLayer namespace: Microsoft.SqlTools.ServiceLayer.QueryExecution summary: "\nDelegate type for callback when a query connection fails\n" example: [] syntax: content: public delegate Task QueryAsyncErrorEventHandler(string message); content.vb: Public Delegate Function QueryAsyncErrorEventHandler(message As String) As Task parameters: - id: message type: System.String description: Error message for the failing query return: type: System.Threading.Tasks.Task modifiers.csharp: - public - delegate modifiers.vb: - Public - Delegate references: - uid: Microsoft.SqlTools.ServiceLayer.QueryExecution commentId: N:Microsoft.SqlTools.ServiceLayer.QueryExecution isExternal: false name: Microsoft.SqlTools.ServiceLayer.QueryExecution nameWithType: Microsoft.SqlTools.ServiceLayer.QueryExecution fullName: Microsoft.SqlTools.ServiceLayer.QueryExecution - uid: System.String commentId: T:System.String parent: System isExternal: true name: String nameWithType: String fullName: System.String - uid: System.Threading.Tasks.Task commentId: T:System.Threading.Tasks.Task parent: System.Threading.Tasks isExternal: true name: Task nameWithType: Task fullName: System.Threading.Tasks.Task - uid: System commentId: N:System isExternal: false name: System nameWithType: System fullName: System - uid: System.Threading.Tasks commentId: N:System.Threading.Tasks isExternal: false name: System.Threading.Tasks nameWithType: System.Threading.Tasks fullName: System.Threading.Tasks