PubSettingsParser.ParseCertificate Method
Namespace: Microsoft.TeamFoundation.Deployment.Workflow
Assembly: Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)
Syntax
'Declaration
Public Shared Function ParseCertificate ( _
fileText As String, _
subscriptionId As String _
) As X509Certificate2
public static X509Certificate2 ParseCertificate(
string fileText,
string subscriptionId
)
public:
static X509Certificate2^ ParseCertificate(
String^ fileText,
String^ subscriptionId
)
static member ParseCertificate :
fileText:string *
subscriptionId:string -> X509Certificate2
public static function ParseCertificate(
fileText : String,
subscriptionId : String
) : X509Certificate2
Parameters
- fileText
Type: System.String
- subscriptionId
Type: System.String
Return Value
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
.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.