C # in a Nutshell, Second Edition

StreamingContextStates serializable, flag

System.Runtime.Serialization (mscorlib.dll) enum

This enumeration contains values that describe types of streams that serialized data derives from or targets.

public enum StreamingContextStates { CrossProcess = 0x00000001 , CrossMachine = 0x00000002 , File = 0x00000004 , Persistence = 0x00000008 , Remoting = 0x00000010 , Other = 0x00000020 , Clone = 0x00000040 , CrossAppDomain = 0x00000080 , All = 0x000000FF }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable , System.IFormattable , System.IConvertible) StreamingContextStates

Returned By

StreamingContext.State

Passed To

StreamingContext.StreamingContext( )

Категории