ServiceCredentials 构造函数

定义

初始化 ServiceCredentials 类的新实例。

重载

ServiceCredentials()

初始化 ServiceCredentials 类的新实例。

ServiceCredentials(ServiceCredentials)

从指定 ServiceCredentials 初始化 ServiceCredentials 的新实例。

ServiceCredentials()

初始化 ServiceCredentials 类的新实例。

public:
 ServiceCredentials();
public ServiceCredentials ();
Public Sub New ()

适用于

ServiceCredentials(ServiceCredentials)

从指定 ServiceCredentials 初始化 ServiceCredentials 的新实例。

protected:
 ServiceCredentials(System::ServiceModel::Description::ServiceCredentials ^ other);
protected ServiceCredentials (System.ServiceModel.Description.ServiceCredentials other);
new System.ServiceModel.Description.ServiceCredentials : System.ServiceModel.Description.ServiceCredentials -> System.ServiceModel.Description.ServiceCredentials
Protected Sub New (other As ServiceCredentials)

参数

other
ServiceCredentials

用于初始化新实例的 ServiceCredentials 实例。

适用于