Click or drag to resize

PolicyViolationException Constructor (IPrincipal, IPolicy, PolicyGrantType)

Initializes a new instance of the PolicyViolationException class.

Namespace:  SanteDB.Core.Exceptions
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public PolicyViolationException(
	IPrincipal principal,
	IPolicy policy,
	PolicyGrantType outcome
)

Parameters

principal
Type: System.Security.PrincipalIPrincipal
The principal that the action was attempted as
policy
Type: SanteDB.Core.SecurityIPolicy
Policy identifier.
outcome
Type: SanteDB.Core.Model.SecurityPolicyGrantType
Outcome.
See Also