Class COMInvokeAttribute
Indicates to COMInvoke<T>(Type, Func<T>) what apartment state the COM service class can operate in.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class COMInvokeAttribute : Attribute, _Attribute
- Inheritance
-
COMInvokeAttribute
- Implements
Constructors
- COMInvokeAttribute()
The COM service class can run in any apartment state.
- COMInvokeAttribute(ApartmentState)
The COM service class requires the given apartment state.
Properties
- Value
The required apartment state.