共用方式為


PlacementAttribute 類別

定義

以所有放置原則標記屬性為基礎。

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public abstract class PlacementAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public abstract class PlacementAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type PlacementAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type PlacementAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public MustInherit Class PlacementAttribute
Inherits Attribute
Public MustInherit Class PlacementAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
繼承
PlacementAttribute
衍生
屬性
實作

建構函式

PlacementAttribute(PlacementStrategy)

以所有放置原則標記屬性為基礎。

屬性

PlacementStrategy

以所有放置原則標記屬性為基礎。

方法

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

將粒紋屬性新增至 properties

適用於