-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
PipelineStoreLocation.xml
68 lines (60 loc) · 3.84 KB
/
PipelineStoreLocation.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<Type Name="PipelineStoreLocation" FullName="System.AddIn.Hosting.PipelineStoreLocation">
<TypeSignature Language="C#" Value="public enum PipelineStoreLocation" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed PipelineStoreLocation extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.AddIn.Hosting.PipelineStoreLocation" />
<TypeSignature Language="VB.NET" Value="Public Enum PipelineStoreLocation" />
<TypeSignature Language="F#" Value="type PipelineStoreLocation = " />
<TypeSignature Language="C++ CLI" Value="public enum class PipelineStoreLocation" />
<AssemblyInfo>
<AssemblyName>System.AddIn</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Serializable]</AttributeName>
<AttributeName Language="F#">[<System.Serializable>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Specifies alternative locations for a pipeline store instead of a path to a directory.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This enumeration currently contains only the ApplicationBase value.
The methods in the <xref:System.AddIn.Hosting.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 <xref:System.AddIn.Hosting.AddInStore.Update%28System.AddIn.Hosting.PipelineStoreLocation%29?displayProperty=nameWithType> and <xref:System.AddIn.Hosting.AddInStore.Rebuild%28System.AddIn.Hosting.PipelineStoreLocation%29?displayProperty=nameWithType> method overloads to specify a location for updating or rebuilding the pipeline store, and the <xref:System.AddIn.Hosting.AddInStore.FindAddIns%28System.Type%2CSystem.AddIn.Hosting.PipelineStoreLocation%2CSystem.String%5B%5D%29?displayProperty=nameWithType> method overload to specify a location for finding add-ins.
## Examples
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.
:::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet4":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet4":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="ApplicationBase">
<MemberSignature Language="C#" Value="ApplicationBase" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.AddIn.Hosting.PipelineStoreLocation ApplicationBase = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.AddIn.Hosting.PipelineStoreLocation.ApplicationBase" />
<MemberSignature Language="VB.NET" Value="ApplicationBase" />
<MemberSignature Language="F#" Value="ApplicationBase = 0" Usage="System.AddIn.Hosting.PipelineStoreLocation.ApplicationBase" />
<MemberSignature Language="C++ CLI" Value="ApplicationBase" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.AddIn.Hosting.PipelineStoreLocation</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>The location specified by the <see cref="P:System.AppDomainSetup.ApplicationBase" /> property for setting up the application domain's host.</summary>
</Docs>
</Member>
</Members>
</Type>