共用方式為


ConsentResult.ConsentResult method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Creates and initializes an instance of a ConsentResult object.

Syntax

public:
ConsentResult(
  bool accepted, 
  bool showAgain, 
  String^ userId
)

Parameters

accepted

Type: bool

True or false; the user accepted

showAgain

Type: bool

True or false; the consent prompt should be shown to the user again

userId

Type: String^

The Id of the user; usually represented as an email address

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Minimum supported phone
Windows Phone 8.1
Namespace
Microsoft::RightsManagement
Metadata
Microsoft.RightsManagement.winmd

See also

ConsentResult