Freigeben über


RelyingParty.CreateRelyingParty Method

Create a new RelyingParty object.

Namespace:  Microsoft.TeamFoundation.Framework.Server.AccessControl
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Shared Function CreateRelyingParty ( _
    ID As Long, _
    tokenLifetime As Integer, _
    asymmetricTokenEncryptionRequired As Boolean, _
    systemReserved As Boolean _
) As RelyingParty
public static RelyingParty CreateRelyingParty(
    long ID,
    int tokenLifetime,
    bool asymmetricTokenEncryptionRequired,
    bool systemReserved
)
public:
static RelyingParty^ CreateRelyingParty(
    long long ID, 
    int tokenLifetime, 
    bool asymmetricTokenEncryptionRequired, 
    bool systemReserved
)
static member CreateRelyingParty : 
        ID:int64 * 
        tokenLifetime:int * 
        asymmetricTokenEncryptionRequired:bool * 
        systemReserved:bool -> RelyingParty
public static function CreateRelyingParty(
    ID : long, 
    tokenLifetime : int, 
    asymmetricTokenEncryptionRequired : boolean, 
    systemReserved : boolean
) : RelyingParty

Parameters

  • tokenLifetime
    Type: System.Int32

    Initial value of TokenLifetime.

  • asymmetricTokenEncryptionRequired
    Type: System.Boolean

    Initial value of AsymmetricTokenEncryptionRequired.

  • systemReserved
    Type: System.Boolean

    Initial value of SystemReserved.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.RelyingParty
Returns RelyingParty.

.NET Framework Security

See Also

Reference

RelyingParty Class

Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace