PipelineStoreLocation Enumeration

 

Specifies alternative locations for a pipeline store instead of a path to a directory.

Namespace:   System.AddIn.Hosting
Assembly:  System.AddIn (in System.AddIn.dll)

[SerializableAttribute]
public enum class PipelineStoreLocation

Member nameDescription
ApplicationBase

The location specified by the AppDomainSetup::ApplicationBase property for setting up the application domain's host.

This enumeration currently contains only the ApplicationBase value.

The methods in the AddInStore class that use this enumeration enable partially trusted hosts, which may not have permission to discover their own location, to find and activate add-ins in their own directory.

You can use the AddInStore::Update(PipelineStoreLocation) and AddInStore::Rebuild(PipelineStoreLocation) method overloads to specify a location for updating or rebuilding the pipeline store, and the AddInStore::FindAddIns(Type^, PipelineStoreLocation, array<String^>^) method overload to specify a location for finding add-ins.

The following example uses the ApplicationBase value to activate an add-in from the pipeline store files, which are located in the host application's directory.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: