Class FaultContractAttribute
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Marks a declaration with fault contract metadata.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Interface)]
public sealed class FaultContractAttribute : Attribute
- Inheritance
-
FaultContractAttribute
- Inherited Members
Constructors
FaultContractAttribute(Type)
Marks a declaration with fault contract metadata.
public FaultContractAttribute(Type faultType)
Parameters
faultTypeTypeThe fault type.
Properties
FaultType
Gets the fault type.
public Type FaultType { get; }
Property Value
- Type
The fault type.