-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IApplicationIdentifier.xml
64 lines (58 loc) · 4.73 KB
/
IApplicationIdentifier.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="IApplicationIdentifier" FullName="System.Runtime.Caching.Hosting.IApplicationIdentifier">
<TypeSignature Language="C#" Value="public interface IApplicationIdentifier" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IApplicationIdentifier" FrameworkAlternate="net-6.0;net-7.0;net-8.0;net-9.0;netstandard-2.0" />
<TypeSignature Language="DocId" Value="T:System.Runtime.Caching.Hosting.IApplicationIdentifier" />
<TypeSignature Language="VB.NET" Value="Public Interface IApplicationIdentifier" />
<TypeSignature Language="F#" Value="type IApplicationIdentifier = interface" />
<TypeSignature Language="C++ CLI" Value="public interface class IApplicationIdentifier" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IApplicationIdentifier" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<AssemblyInfo>
<AssemblyName>System.Runtime.Caching</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>Defines an identifier for application domains that a cache implementation can use to interact with a host environment.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A .NET Framework host environment such as ASP.NET can use the <xref:System.Runtime.Caching.Hosting.IApplicationIdentifier> interface to define strings that identify individual application domains. The host environment implements the <xref:System.Runtime.Caching.Hosting.IApplicationIdentifier> interface. This interface is then available to <xref:System.Runtime.Caching.ObjectCache> implementations through the <xref:System.Runtime.Caching.ObjectCache.Host%2A> property.
A cache implementation uses this reference to obtain an identifier for the application domain. In ASP.NET, cache implementations use the application identifier to construct identifiers for cache performance counters. This provides names for performance counter instances that can be distinguished between application domains when multiple application domains are running.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="GetApplicationId">
<MemberSignature Language="C#" Value="public string GetApplicationId ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetApplicationId() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Caching.Hosting.IApplicationIdentifier.GetApplicationId" />
<MemberSignature Language="VB.NET" Value="Public Function GetApplicationId () As String" />
<MemberSignature Language="F#" Value="abstract member GetApplicationId : unit -> string" Usage="iApplicationIdentifier.GetApplicationId " />
<MemberSignature Language="C++ CLI" Value="public:
 System::String ^ GetApplicationId();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.Caching</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets an identifier for an application domain.</summary>
<returns>A unique identifier for the current application domain.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Runtime.Caching.Hosting.IApplicationIdentifier.GetApplicationId%2A> method is typically implemented by a .NET Framework host environment in order to construct an application identifier for an <xref:System.Runtime.Caching.ObjectCache> implementation. A <xref:System.Runtime.Caching.ObjectCache> implementation uses this information to identify the application domain that is currently running.
For example, in ASP.NET, the cache uses an application identifier to construct identifiers for cache performance counters. The cache calls the <xref:System.Runtime.Caching.Hosting.IApplicationIdentifier.GetApplicationId%2A> method that is implemented by the host environment and the host returns the identifier. This provides names for performance counter instances that can be distinguished between application domains when multiple application domains are running.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>