Files
Dec2017-Script-Dump/mscorlib/System/Runtime/Serialization/IObjectReference.cs
T
2026-06-04 11:42:34 +02:00

19 lines
925 B
C#

using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Serialization
{
/// <summary>Indicates that the current interface implementer is a reference to another object.</summary>
// Token: 0x0200047E RID: 1150
[ComVisible(true)]
public interface IObjectReference
{
/// <summary>Returns the real object that should be deserialized, rather than the object that the serialized stream specifies.</summary>
/// <returns>Returns the actual object that is put into the graph.</returns>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> from which the current object is deserialized. </param>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission. The call will not work on a medium trusted server.</exception>
// Token: 0x06002BFB RID: 11259
object GetRealObject(StreamingContext context);
}
}