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
ID
Type: System.Int64Initial value of Id.
tokenLifetime
Type: System.Int32Initial value of TokenLifetime.
asymmetricTokenEncryptionRequired
Type: System.BooleanInitial value of AsymmetricTokenEncryptionRequired.
systemReserved
Type: System.BooleanInitial value of SystemReserved.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.RelyingParty
Returns RelyingParty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace