DOFPermissioncreate Method (DOFMarshalContext, DOFPacket)OpenDOF Object Access Library
Creates and returns a Permission object of the correct type by removing it from the front of a BufferedPacket.

Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static DOFPermission create(
	DOFMarshalContext context,
	DOFPacket p
)

Parameters

context
Type: org.opendof.core.oalDOFMarshalContext
The marshalling context.
p
Type: org.opendof.core.oalDOFPacket
A packet holding a serialized Permission at the front.

Return Value

Type: DOFPermission
A deserialized Permission object.
Exceptions

ExceptionCondition
DOFSecurityException If the permission could not be deserialized. In this case the packet will remain unaffected.
DOFSecurityException
Remarks

Creates and returns a Permission object of the correct type by removing it from the front of a BufferedPacket.
See Also

Reference