Bahasa

AlwaysInterleaveAttribute Kelas

Definisi

Atribut AlwaysInterleaveAttribute digunakan untuk menandai metode yang dapat berhubungan dengan metode apa pun, termasuk permintaan tulis (non ReadOnly).

[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class AlwaysInterleaveAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
[Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.AlwaysInterleave)]
public sealed class AlwaysInterleaveAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type AlwaysInterleaveAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.AlwaysInterleave)>]
type AlwaysInterleaveAttribute = class
    inherit Attribute
Public NotInheritable Class AlwaysInterleaveAttribute
Inherits Attribute
Warisan
AlwaysInterleaveAttribute
Atribut

Keterangan

Perhatikan bahwa atribut ini diterapkan ke deklarasi metode di antarmuka grain, dan bukan ke metode di kelas implementasi itu sendiri.

Konstruktor

Nama Deskripsi
AlwaysInterleaveAttribute()

Atribut AlwaysInterleaveAttribute digunakan untuk menandai metode yang dapat berhubungan dengan metode apa pun, termasuk permintaan tulis (non ReadOnly).

Berlaku untuk