53 lines
2.7 KiB
C#
53 lines
2.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
/// <summary>Defines a set of flags that specifies the source or destination context for the stream during serialization.</summary>
|
|
// Token: 0x0200047C RID: 1148
|
|
[Token(Token = "0x200047C")]
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum StreamingContextStates
|
|
{
|
|
/// <summary>Specifies that the source or destination context is a different process on the same computer.</summary>
|
|
// Token: 0x040015B3 RID: 5555
|
|
[Token(Token = "0x40015B3")]
|
|
CrossProcess = 1,
|
|
/// <summary>Specifies that the source or destination context is a different computer.</summary>
|
|
// Token: 0x040015B4 RID: 5556
|
|
[Token(Token = "0x40015B4")]
|
|
CrossMachine = 2,
|
|
/// <summary>Specifies that the source or destination context is a file. Users can assume that files will last longer than the process that created them and not serialize objects in such a way that deserialization will require accessing any data from the current process.</summary>
|
|
// Token: 0x040015B5 RID: 5557
|
|
[Token(Token = "0x40015B5")]
|
|
File = 4,
|
|
/// <summary>Specifies that the source or destination context is a persisted store, which could include databases, files, or other backing stores. Users can assume that persisted data will last longer than the process that created the data and not serialize objects so that deserialization will require accessing any data from the current process.</summary>
|
|
// Token: 0x040015B6 RID: 5558
|
|
[Token(Token = "0x40015B6")]
|
|
Persistence = 8,
|
|
/// <summary>Specifies that the data is remoted to a context in an unknown location. Users cannot make any assumptions whether this is on the same computer.</summary>
|
|
// Token: 0x040015B7 RID: 5559
|
|
[Token(Token = "0x40015B7")]
|
|
Remoting = 16,
|
|
/// <summary>Specifies that the serialization context is unknown.</summary>
|
|
// Token: 0x040015B8 RID: 5560
|
|
[Token(Token = "0x40015B8")]
|
|
Other = 32,
|
|
/// <summary>Specifies that the object graph is being cloned. Users can assume that the cloned graph will continue to exist within the same process and be safe to access handles or other references to unmanaged resources.</summary>
|
|
// Token: 0x040015B9 RID: 5561
|
|
[Token(Token = "0x40015B9")]
|
|
Clone = 64,
|
|
/// <summary>Specifies that the source or destination context is a different AppDomain. (For a description of AppDomains, see Application Domains).</summary>
|
|
// Token: 0x040015BA RID: 5562
|
|
[Token(Token = "0x40015BA")]
|
|
CrossAppDomain = 128,
|
|
/// <summary>Specifies that the serialized data can be transmitted to or received from any of the other contexts.</summary>
|
|
// Token: 0x040015BB RID: 5563
|
|
[Token(Token = "0x40015BB")]
|
|
All = 255
|
|
}
|
|
}
|