AlwaysInterleaveAttribute Clase
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
El atributo AlwaysInterleaveAttribute se usa para marcar métodos que pueden intercalar con cualquier método, incluidas las solicitudes de escritura (no 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
- Herencia
-
AlwaysInterleaveAttribute
- Atributos
Tenga en cuenta que este atributo se aplica a la declaración de método en la interfaz de grano y no al método en la propia clase de implementación.
Always |
El atributo AlwaysInterleaveAttribute se usa para marcar métodos que pueden intercalar con cualquier método, incluidas las solicitudes de escritura (no readOnly). |
Producto | Versiones |
---|---|
.NET Orleans | 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |