Table of Contents

Class CommandBehaviorAttribute

Namespace
Azure.Iot.Operations.Protocol
Assembly
Azure.Iot.Operations.Protocol.dll
[AttributeUsage(AttributeTargets.Class)]
public class CommandBehaviorAttribute : Attribute
Inheritance
CommandBehaviorAttribute
Inherited Members

Constructors

CommandBehaviorAttribute(bool, string)

public CommandBehaviorAttribute(bool idempotent = false, string cacheTtl = "PT0H0M0S")

Parameters

idempotent bool
cacheTtl string

Properties

CacheTtl

public string CacheTtl { get; set; }

Property Value

string

IsIdempotent

public bool IsIdempotent { get; set; }

Property Value

bool