SessionStateUtility::SerializationSurrogateSelector Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a serialization surrogate selector that is used for session serialization customization.

Namespace:   System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

public:
property ISurrogateSelector^ SerializationSurrogateSelector {
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
	static ISurrogateSelector^ get();
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
	static void set(ISurrogateSelector^ value);
}

Property Value

Type: System.Runtime.Serialization::ISurrogateSelector^

A serialization surrogate selector.

.NET Framework
Available since 4.5
Return to top
Show: