'Declaration
<CanBeNullAttribute()> Public Shared Function TryNew( _ ByVal rawData() As Byte, _ ByRef pkiCertificate As PkiCertificate _ ) As Exception
'Usage
Dim rawData() As Byte Dim pkiCertificate As PkiCertificate Dim value As Exception value = PkiCertificate.TryNew(rawData, pkiCertificate)
[CanBeNull()] public static Exception TryNew( byte[] rawData, out PkiCertificate pkiCertificate )
[CanBeNull()] public: static Exception^ TryNew( array<byte>^ rawData, [Out] PkiCertificate^ pkiCertificate )
Parameters
- rawData
- A byte array containing data from a PKI certificate.
- pkiCertificate
- Contains the newly created PKI certificate, or
null
in case of an error.
Return Value
Returns
null
if the certificate has been successfully created. Otherwise, returns a non-null
System.Exception describing the error.