HostProtectionException.ProtectedResources Property

 
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 the host protection resources that are inaccessible to partially trusted code.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public HostProtectionResource ProtectedResources { get; }

Property Value

Type: System.Security.Permissions.HostProtectionResource

A bitwise combination of the HostProtectionResource values identifying the inaccessible host protection categories. The default is HostProtectionResource.None.

This property identifies the host protection categories that the host has specified as being inaccessible to code that is not fully trusted.

.NET Framework
Available since 2.0
Return to top
Show: