-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IObjectHandle.xml
72 lines (69 loc) · 4.55 KB
/
IObjectHandle.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
69
70
71
72
<Type Name="IObjectHandle" FullName="System.Runtime.Remoting.IObjectHandle">
<TypeSignature Language="C#" Value="public interface IObjectHandle" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IObjectHandle" />
<TypeSignature Language="DocId" Value="T:System.Runtime.Remoting.IObjectHandle" />
<TypeSignature Language="VB.NET" Value="Public Interface IObjectHandle" />
<TypeSignature Language="F#" Value="type IObjectHandle = interface" />
<TypeSignature Language="C++ CLI" Value="public interface class IObjectHandle" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;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">
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(true)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Defines the interface for unwrapping marshal-by-value objects from indirection.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Marshal-by-value objects can be returned through an indirection, allowing the caller to control when the object is loaded into their domain. The caller can unwrap the object from the indirection through this interface.
The class implementing the <xref:System.Runtime.Remoting.IObjectHandle> interface can be used to pass an object (in a wrapped state) between multiple application domains without loading the metadata for the wrapped object in each <xref:System.AppDomain> through which the <xref:System.Runtime.Remoting.IObjectHandle> travels. Thus, the <xref:System.Runtime.Remoting.IObjectHandle> class gives the caller control of when the <xref:System.Type> of the remote object is loaded into their domain.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Unwrap">
<MemberSignature Language="C#" Value="public object Unwrap ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Unwrap() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Remoting.IObjectHandle.Unwrap" />
<MemberSignature Language="VB.NET" Value="Public Function Unwrap () As Object" />
<MemberSignature Language="F#" Value="abstract member Unwrap : unit -> obj" Usage="iObjectHandle.Unwrap " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Unwrap();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Unwraps the object.</summary>
<returns>The unwrapped object.</returns>
<remarks>To be added.</remarks>
<block subset="none" type="usage">
<para>A <see cref="T:System.Runtime.Remoting.ObjectHandle" /> is a remoted <see cref="T:System.MarshalByRefObject" /> and is tracked by the remoting lifetime service. A call to the current method might fail if the lifetime lease on the <see cref="T:System.Runtime.Remoting.ObjectHandle" /> expires.</para>
</block>
</Docs>
</Member>
</Members>
</Type>