IAsyncCodeLensDataPointProvider.CanCreateDataPointAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| CanCreateDataPointAsync(CodeLensDescriptor, CancellationToken) |
Bu sağlayıcının belirtilen için bir oluşturup oluşturamayacağını belirler IAsyncCodeLensDataPoint CodeLensDescriptor . |
| CanCreateDataPointAsync(CodeLensDescriptor, CodeLensDescriptorContext, CancellationToken) |
CanCreateDataPointAsync(CodeLensDescriptor, CancellationToken)
Bu sağlayıcının belirtilen için bir oluşturup oluşturamayacağını belirler IAsyncCodeLensDataPoint CodeLensDescriptor .
public:
System::Threading::Tasks::Task<bool> ^ CanCreateDataPointAsync(Microsoft::VisualStudio::Language::CodeLens::Remoting::CodeLensDescriptor ^ descriptor, System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<bool> CanCreateDataPointAsync (Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDescriptor descriptor, System.Threading.CancellationToken token);
abstract member CanCreateDataPointAsync : Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDescriptor * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function CanCreateDataPointAsync (descriptor As CodeLensDescriptor, token As CancellationToken) As Task(Of Boolean)
Parametreler
- descriptor
- CodeLensDescriptor
Denetlenecek tanımlayıcı.
- token
- CancellationToken
Döndürülenler
tanımlayıcıdan bir veri noktası oluşturulabiliyorsa true ; Aksi takdirde false .
Şunlara uygulanır
CanCreateDataPointAsync(CodeLensDescriptor, CodeLensDescriptorContext, CancellationToken)
public:
System::Threading::Tasks::Task<bool> ^ CanCreateDataPointAsync(Microsoft::VisualStudio::Language::CodeLens::Remoting::CodeLensDescriptor ^ descriptor, Microsoft::VisualStudio::Language::CodeLens::CodeLensDescriptorContext ^ descriptorContext, System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<bool> CanCreateDataPointAsync (Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDescriptor descriptor, Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext descriptorContext, System.Threading.CancellationToken token);
abstract member CanCreateDataPointAsync : Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDescriptor * Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function CanCreateDataPointAsync (descriptor As CodeLensDescriptor, descriptorContext As CodeLensDescriptorContext, token As CancellationToken) As Task(Of Boolean)
Parametreler
- descriptor
- CodeLensDescriptor
- descriptorContext
- CodeLensDescriptorContext
- token
- CancellationToken