129 lines
5.2 KiB
C#
129 lines
5.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Remoting.Lifetime
|
|
{
|
|
/// <summary>Controls the.NET remoting lifetime services.</summary>
|
|
// Token: 0x020004CB RID: 1227
|
|
[Token(Token = "0x20004CB")]
|
|
[ComVisible(true)]
|
|
public sealed class LifetimeServices
|
|
{
|
|
/// <summary>Gets or sets the time interval between each activation of the lease manager to clean up expired leases.</summary>
|
|
/// <returns>The default amount of time the lease manager sleeps after checking for expired leases.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels. This exception is thrown only when setting the property value.</exception>
|
|
// Token: 0x17000587 RID: 1415
|
|
// (get) Token: 0x06002806 RID: 10246 RVA: 0x00016248 File Offset: 0x00014448
|
|
// (set) Token: 0x06002807 RID: 10247 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000587")]
|
|
public static TimeSpan LeaseManagerPollTime
|
|
{
|
|
[Token(Token = "0x6002806")]
|
|
[Address(RVA = "0x237C5E0", Offset = "0x237B3E0", VA = "0x18237C5E0")]
|
|
get
|
|
{
|
|
return default(TimeSpan);
|
|
}
|
|
[Token(Token = "0x6002807")]
|
|
[Address(RVA = "0x237C760", Offset = "0x237B560", VA = "0x18237C760")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the initial lease time span for an <see cref="T:System.AppDomain" />.</summary>
|
|
/// <returns>The initial lease <see cref="T:System.TimeSpan" /> for objects that can have leases in the <see cref="T:System.AppDomain" />.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels. This exception is thrown only when setting the property value.</exception>
|
|
// Token: 0x17000588 RID: 1416
|
|
// (get) Token: 0x06002808 RID: 10248 RVA: 0x00016260 File Offset: 0x00014460
|
|
// (set) Token: 0x06002809 RID: 10249 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000588")]
|
|
public static TimeSpan LeaseTime
|
|
{
|
|
[Token(Token = "0x6002808")]
|
|
[Address(RVA = "0x237C640", Offset = "0x237B440", VA = "0x18237C640")]
|
|
get
|
|
{
|
|
return default(TimeSpan);
|
|
}
|
|
[Token(Token = "0x6002809")]
|
|
[Address(RVA = "0x237C7F0", Offset = "0x237B5F0", VA = "0x18237C7F0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the amount of time by which the lease is extended every time a call comes in on the server object.</summary>
|
|
/// <returns>The <see cref="T:System.TimeSpan" /> by which a lifetime lease in the current <see cref="T:System.AppDomain" /> is extended after each call.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels. This exception is thrown only when setting the property value.</exception>
|
|
// Token: 0x17000589 RID: 1417
|
|
// (get) Token: 0x0600280A RID: 10250 RVA: 0x00016278 File Offset: 0x00014478
|
|
// (set) Token: 0x0600280B RID: 10251 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000589")]
|
|
public static TimeSpan RenewOnCallTime
|
|
{
|
|
[Token(Token = "0x600280A")]
|
|
[Address(RVA = "0x237C6A0", Offset = "0x237B4A0", VA = "0x18237C6A0")]
|
|
get
|
|
{
|
|
return default(TimeSpan);
|
|
}
|
|
[Token(Token = "0x600280B")]
|
|
[Address(RVA = "0x237C8B0", Offset = "0x237B6B0", VA = "0x18237C8B0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the amount of time the lease manager waits for a sponsor to return with a lease renewal time.</summary>
|
|
/// <returns>The initial sponsorship time-out.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels. This exception is thrown only when setting the property value.</exception>
|
|
// Token: 0x1700058A RID: 1418
|
|
// (get) Token: 0x0600280C RID: 10252 RVA: 0x00016290 File Offset: 0x00014490
|
|
// (set) Token: 0x0600280D RID: 10253 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700058A")]
|
|
public static TimeSpan SponsorshipTimeout
|
|
{
|
|
[Token(Token = "0x600280C")]
|
|
[Address(RVA = "0x237C700", Offset = "0x237B500", VA = "0x18237C700")]
|
|
get
|
|
{
|
|
return default(TimeSpan);
|
|
}
|
|
[Token(Token = "0x600280D")]
|
|
[Address(RVA = "0x237C970", Offset = "0x237B770", VA = "0x18237C970")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280E RID: 10254 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600280E")]
|
|
[Address(RVA = "0x237C420", Offset = "0x237B220", VA = "0x18237C420")]
|
|
internal static void TrackLifetime(ServerIdentity identity)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001781 RID: 6017
|
|
[Token(Token = "0x4001781")]
|
|
private static TimeSpan _leaseManagerPollTime;
|
|
|
|
// Token: 0x04001782 RID: 6018
|
|
[Token(Token = "0x4001782")]
|
|
private static TimeSpan _leaseTime;
|
|
|
|
// Token: 0x04001783 RID: 6019
|
|
[Token(Token = "0x4001783")]
|
|
private static TimeSpan _renewOnCallTime;
|
|
|
|
// Token: 0x04001784 RID: 6020
|
|
[Token(Token = "0x4001784")]
|
|
private static TimeSpan _sponsorshipTimeout;
|
|
|
|
// Token: 0x04001785 RID: 6021
|
|
[Token(Token = "0x4001785")]
|
|
private static LeaseManager _leaseManager;
|
|
}
|
|
}
|