[ObsoleteAttribute("Deprecated. Use 'Connect(String)' static method instead.",
true)]
public CertificateAuthority(
string computerName,
string name
)
<ObsoleteAttribute("Deprecated. Use 'Connect(String)' static method instead.",
true)>
Public Sub New (
computerName As String,
name As String
)
public:
[ObsoleteAttribute(L"Deprecated. Use 'Connect(String)' static method instead.",
true)]
CertificateAuthority(
String^ computerName,
String^ name
)
[<ObsoleteAttribute("Deprecated. Use 'Connect(String)' static method instead.",
true)>]
new :
computerName : string *
name : string -> CertificateAuthority
The default behavior is to retrieve registry information via remote registry functions. If the connection is unsuccessful, the code falls back to RPC/DCOM connections (by using ICertAdmin2 COM interface) to get registry data.
ArgumentNullException | Either computerName or name parameter is null or empty. |
ServerUnavailableException | The server could not be contacted via both methods: remote registry and RPC/DCOM transport. |