Table of Contents

Class COMUtils

Namespace
Innova.Prism.Library.Security
Assembly
Innova.Prism.Library.dll

COM related functions.

public static class COMUtils
Inheritance
COMUtils

Methods

COMInvoke(ApartmentState, Action)

Calls COMInvoke<T>(ApartmentState, Func<T>).

COMInvoke(Type, Action)

Calls COMInvoke<T>(Type, Func<T>).

COMInvoke<T>(ApartmentState, Func<T>)

Invokes a delegate in a thread with the given apartment state.

COMInvoke<T>(Type, Func<T>)

Invokes a delegate in a thread with the apartment state required by the given COM class as defined by the COMInvokeAttribute on the class.