Sdílet prostřednictvím


AspNetCompiler.AllowPartiallyTrustedCallers Property

Definition

If specified, the strong-name assembly will allow partially trusted callers.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool AllowPartiallyTrustedCallers { bool get(); void set(bool value); };
public bool AllowPartiallyTrustedCallers { get; set; }
public bool AllowPartiallyTrustedCallers { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.AllowPartiallyTrustedCallers : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.AllowPartiallyTrustedCallers : bool with get, set
Public Property AllowPartiallyTrustedCallers As Boolean

Property Value

true if the AllowPartiallyTrustedCallersAttribute should be applied to the strongly named assembly that Aspnet_compiler.exe generates; otherwise, false.

Attributes

Remarks

This property must be combined with the KeyFile or KeyContainer properties.

Applies to