-
Notifications
You must be signed in to change notification settings - Fork 256
/
ICodePackageActivationContext3.xml
64 lines (64 loc) · 4.04 KB
/
ICodePackageActivationContext3.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
<Type Name="ICodePackageActivationContext3" FullName="System.Fabric.ICodePackageActivationContext3">
<TypeSignature Language="C#" Value="public interface ICodePackageActivationContext3 : IDisposable, System.Fabric.ICodePackageActivationContext2" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ICodePackageActivationContext3 implements class System.Fabric.ICodePackageActivationContext, class System.Fabric.ICodePackageActivationContext2, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:System.Fabric.ICodePackageActivationContext3" />
<TypeSignature Language="VB.NET" Value="Public Interface ICodePackageActivationContext3
Implements ICodePackageActivationContext2, IDisposable" />
<TypeSignature Language="F#" Value="type ICodePackageActivationContext3 = interface
 interface ICodePackageActivationContext2
 interface ICodePackageActivationContext
 interface IDisposable" />
<AssemblyInfo>
<AssemblyName>System.Fabric</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Fabric.ICodePackageActivationContext</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Fabric.ICodePackageActivationContext2</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
Represents activation context for the Service Fabric activated service.
</summary>
<remarks>Includes information from the service manifest as well as information
about the currently activated code package like work directory, context id etc.</remarks>
</Docs>
<Members>
<Member MemberName="GetDirectory">
<MemberSignature Language="C#" Value="public string GetDirectory (string logicalDirectoryName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetDirectory(string logicalDirectoryName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Fabric.ICodePackageActivationContext3.GetDirectory(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function GetDirectory (logicalDirectoryName As String) As String" />
<MemberSignature Language="F#" Value="abstract member GetDirectory : string -> string" Usage="iCodePackageActivationContext3.GetDirectory logicalDirectoryName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Fabric</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="logicalDirectoryName" Type="System.String" />
</Parameters>
<Docs>
<param name="logicalDirectoryName">To be added.</param>
<summary>
Retrieves the path to sub directory inside the work directory with the name "logicalDirectoryName".
</summary>
<returns>The path to sub directory with name logicalDirectoryName inside work directory</returns>
<remarks>Throws an exception if logicalDirectoryName is not found under work directory.
Otherwise will return directory path WorkDirectory\logicalDirectoryName which is a symbolic link to
directory specified with Name under LogicalDirectories Section of ClusterManifest.
for example: if you have specified <LogicalDirectory LogicalDirectoryName="Foo" MappedTo="D:\\Foo" /> and call to this method
with directoryName "Foo" will return you path WorkDirectory\Foo. Any writes made to returned path will go to D:\Foo\NodeId\ApplicationType_ApplicationVersion.
This method is case insensitive so even if you say directoryName foo it will still return you directory path WorkDirectory\Foo.</remarks>
</Docs>
</Member>
</Members>
</Type>