MetadataBuilder.AddStateMachineMethod 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.
Durum makinesi yöntemi hata ayıklama bilgilerini ekler.
public:
void AddStateMachineMethod(System::Reflection::Metadata::MethodDefinitionHandle moveNextMethod, System::Reflection::Metadata::MethodDefinitionHandle kickoffMethod);
public void AddStateMachineMethod (System.Reflection.Metadata.MethodDefinitionHandle moveNextMethod, System.Reflection.Metadata.MethodDefinitionHandle kickoffMethod);
member this.AddStateMachineMethod : System.Reflection.Metadata.MethodDefinitionHandle * System.Reflection.Metadata.MethodDefinitionHandle -> unit
Public Sub AddStateMachineMethod (moveNextMethod As MethodDefinitionHandle, kickoffMethod As MethodDefinitionHandle)
Parametreler
- moveNextMethod
- MethodDefinitionHandle
Durum makinesinin MoveNext
yönteminin tanıtıcısı (derleyici tarafından oluşturulan yöntem).
- kickoffMethod
- MethodDefinitionHandle
Başlatma yönteminin tanıtıcısı (kullanıcı tanımlı yineleyici/zaman uyumsuz yöntem).
Açıklamalar
Girdiler, ilgili MoveNext
yöntem tanımlarıyla aynı sırada eklenmelidir.
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.