Class ActionAttribute
Mark method as a public action exposed by this service/module
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class ActionAttribute : Attribute
- Inheritance
-
objectAttributeActionAttribute
Constructors
ActionAttribute(Methods)
public ActionAttribute(Methods Method)
Parameters
MethodMethods
Fields
Method
Set exposed REST methods for action.
public Methods Method
Field Value
Timeout
Set explicit timeout (in seconds) for action. (0=default)
public int Timeout
Field Value
Methods
IsDefaultAttribute()
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
public override bool IsDefaultAttribute()