C# 클래스 WebKit.ActivationContext

A simple interface to the Windows Activation Context API.
Activation context switching is required here to support registration free COM interop. Ordinarily this can be achieved by embedding an application manifest with mappings to COM objects in the assembly, however this does not work in a class library. Instead we create an activation context which explicitly loads a manifest and activate this context when we need to create a COM object.
상속: IDisposable
파일 보기 프로젝트 열기: davejohnson/webkit-dot-net

공개 메소드들

메소드 설명
Activate ( ) : void

Activates the activation context.

ActivationContext ( string ManifestFileName ) : System

Constructor for ActivationContext.

Deactivate ( ) : void

Deactivates the activation context, activating the next one down on the 'stack'.

Dispose ( ) : void
Initialize ( ) : void

Initializes the activation context.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Activate() 공개 메소드

Activates the activation context.
public Activate ( ) : void
리턴 void

ActivationContext() 공개 메소드

Constructor for ActivationContext.
public ActivationContext ( string ManifestFileName ) : System
ManifestFileName string Path of the manifest file to load.
리턴 System

Deactivate() 공개 메소드

Deactivates the activation context, activating the next one down on the 'stack'.
public Deactivate ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Initialize() 공개 메소드

Initializes the activation context.
public Initialize ( ) : void
리턴 void