Files
sqltoolsservice/docs/metadata/api/Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.yml
2016-12-15 16:37:50 -08:00

478 lines
13 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext
commentId: T:Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext
id: AsyncContext
parent: Microsoft.SqlTools.ServiceLayer.Utility
children:
- Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start(System.Func{System.Threading.Tasks.Task})
langs:
- csharp
- vb
name: AsyncContext
nameWithType: AsyncContext
fullName: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext
type: Class
source:
remote:
path: src/Microsoft.SqlTools.ServiceLayer/Utility/AsyncContext.cs
branch: master
repo: https://kburtram:67c6623fc506400046096af249535f684d9ea40b@github.com/Microsoft/sqltoolsservice.git
id: AsyncContext
path: ../src/Microsoft.SqlTools.ServiceLayer/Utility/AsyncContext.cs
startLine: 15
assemblies:
- Microsoft.SqlTools.ServiceLayer
namespace: Microsoft.SqlTools.ServiceLayer.Utility
summary: "\nSimplifies the setup of a SynchronizationContext for the use\nof async calls in the current thread.\n"
example: []
syntax:
content: public static class AsyncContext
content.vb: Public Module AsyncContext
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
modifiers.csharp:
- public
- static
- class
modifiers.vb:
- Public
- Module
- uid: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start(System.Func{System.Threading.Tasks.Task})
commentId: M:Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start(System.Func{System.Threading.Tasks.Task})
id: Start(System.Func{System.Threading.Tasks.Task})
parent: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext
langs:
- csharp
- vb
name: Start(Func<Task>)
nameWithType: AsyncContext.Start(Func<Task>)
fullName: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start(System.Func<System.Threading.Tasks.Task>)
type: Method
source:
remote:
path: src/Microsoft.SqlTools.ServiceLayer/Utility/AsyncContext.cs
branch: master
repo: https://kburtram:67c6623fc506400046096af249535f684d9ea40b@github.com/Microsoft/sqltoolsservice.git
id: Start
path: ../src/Microsoft.SqlTools.ServiceLayer/Utility/AsyncContext.cs
startLine: 25
assemblies:
- Microsoft.SqlTools.ServiceLayer
namespace: Microsoft.SqlTools.ServiceLayer.Utility
summary: "\nStarts a new ThreadSynchronizationContext, attaches it to\nthe thread, and then runs the given async main function.\n"
example: []
syntax:
content: public static void Start(Func<Task> asyncMainFunc)
content.vb: Public Shared Sub Start(asyncMainFunc As Func(Of Task))
parameters:
- id: asyncMainFunc
type: System.Func{System.Threading.Tasks.Task}
description: "\nThe Task-returning Func which represents the \"main\" function\nfor the thread.\n"
overload: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start*
nameWithType.vb: AsyncContext.Start(Func(Of Task))
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start(System.Func(Of System.Threading.Tasks.Task))
name.vb: Start(Func(Of Task))
references:
- uid: Microsoft.SqlTools.ServiceLayer.Utility
commentId: N:Microsoft.SqlTools.ServiceLayer.Utility
isExternal: false
name: Microsoft.SqlTools.ServiceLayer.Utility
nameWithType: Microsoft.SqlTools.ServiceLayer.Utility
fullName: Microsoft.SqlTools.ServiceLayer.Utility
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: Object
nameWithType: Object
fullName: System.Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
name: Equals(Object)
nameWithType: Object.Equals(Object)
fullName: System.Object.Equals(System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: Equals(Object, Object)
nameWithType: Object.Equals(Object, Object)
fullName: System.Object.Equals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
name: GetHashCode()
nameWithType: Object.GetHashCode()
fullName: System.Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
name: GetType()
nameWithType: Object.GetType()
fullName: System.Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
name: MemberwiseClone()
nameWithType: Object.MemberwiseClone()
fullName: System.Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: ReferenceEquals(Object, Object)
nameWithType: Object.ReferenceEquals(Object, Object)
fullName: System.Object.ReferenceEquals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
name: ToString()
nameWithType: Object.ToString()
fullName: System.Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System
commentId: N:System
isExternal: false
name: System
nameWithType: System
fullName: System
- uid: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start*
commentId: Overload:Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start
isExternal: false
name: Start
nameWithType: AsyncContext.Start
fullName: Microsoft.SqlTools.ServiceLayer.Utility.AsyncContext.Start
- uid: System.Func{System.Threading.Tasks.Task}
commentId: T:System.Func{System.Threading.Tasks.Task}
parent: System
definition: System.Func`1
name: Func<Task>
nameWithType: Func<Task>
fullName: System.Func<System.Threading.Tasks.Task>
nameWithType.vb: Func(Of Task)
fullname.vb: System.Func(Of System.Threading.Tasks.Task)
name.vb: Func(Of Task)
spec.csharp:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: System.Threading.Tasks.Task
name: Task
nameWithType: Task
fullName: System.Threading.Tasks.Task
isExternal: true
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: System.Threading.Tasks.Task
name: Task
nameWithType: Task
fullName: System.Threading.Tasks.Task
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Func`1
commentId: T:System.Func`1
isExternal: true
name: Func<TResult>
nameWithType: Func<TResult>
fullName: System.Func<TResult>
nameWithType.vb: Func(Of TResult)
fullname.vb: System.Func(Of TResult)
name.vb: Func(Of TResult)
spec.csharp:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: TResult
nameWithType: TResult
fullName: TResult
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: TResult
nameWithType: TResult
fullName: TResult
- name: )
nameWithType: )
fullName: )