共用方式為


ExternalApplicationRequestToken.TryParse Method

Provides the method to parse the token from a string.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function TryParse ( _
    str As String _
) As ExternalApplicationRequestToken
'Usage
Dim str As String
Dim returnValue As ExternalApplicationRequestToken

returnValue = ExternalApplicationRequestToken.TryParse(str)
public static ExternalApplicationRequestToken TryParse(
    string str
)

Parameters

Return Value

Type: Microsoft.SharePoint.Client.ExternalApplicationRequestToken
The request token object from the external application.

Remarks

This method returns the ExternalApplicationRequestToken object, which contains the token version, site ID, user ID, application ID, application principal’s login name, current date and time, client hash value, and server hash value.

See Also

Reference

ExternalApplicationRequestToken Class

ExternalApplicationRequestToken Members

Microsoft.SharePoint.Client Namespace