VssClientCredentials Implicit Conversion (FederatedCredential to VssClientCredentials)
Implicitly converts a FederatedCredential instance into a VssClientCredentials instance.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
credential As FederatedCredential _
) As VssClientCredentials
public static implicit operator VssClientCredentials (
FederatedCredential credential
)
static implicit operator VssClientCredentials^ (
FederatedCredential^ credential
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
credential
Type: Microsoft.VisualStudio.Services.Common.FederatedCredentialThe federated credential instance.
Return Value
Type: Microsoft.VisualStudio.Services.Client.VssClientCredentials
A new VssClientCredentials instance which wraps the specified credential.
.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.