Share via


ReentrantAttribute 類別

定義

Reentrant 屬性可用來標記允許工作內要求交錯的粒紋實作類別。

這是進階功能,除非完全瞭解含意,否則不應使用。 也就是說,允許要求交錯可讓執行時間系統執行一些優化,以大幅改善應用程式的效能。

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class ReentrantAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class ReentrantAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type ReentrantAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type ReentrantAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public NotInheritable Class ReentrantAttribute
Inherits Attribute
Public NotInheritable Class ReentrantAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
繼承
ReentrantAttribute
屬性
實作

建構函式

ReentrantAttribute()

Reentrant 屬性可用來標記允許工作內要求交錯的粒紋實作類別。

這是進階功能,除非完全瞭解含意,否則不應使用。 也就是說,允許要求交錯可讓執行時間系統執行一些優化,以大幅改善應用程式的效能。

方法

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

將粒紋屬性新增至 properties

適用於