Поделиться через


OneWayAttribute Класс

Определение

Указывает, что метод в интерфейсе grain является односторонним и что вызывающей стороне не будет отправлено ответное сообщение.

[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class OneWayAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
[Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.OneWay)]
public sealed class OneWayAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type OneWayAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.OneWay)>]
type OneWayAttribute = class
    inherit Attribute
Public NotInheritable Class OneWayAttribute
Inherits Attribute
Наследование
OneWayAttribute
Атрибуты

Конструкторы

OneWayAttribute()

Указывает, что метод в интерфейсе grain является односторонним и что вызывающей стороне не будет отправлено ответное сообщение.

Применяется к