ServiceCredentials 构造函数

定义

初始化 ServiceCredentials 类的新实例。Initializes a new instance of the ServiceCredentials class.

重载

ServiceCredentials()

初始化 ServiceCredentials 类的新实例。Initializes a new instance of the ServiceCredentials class.

ServiceCredentials(ServiceCredentials)

从指定 ServiceCredentials 初始化 ServiceCredentials 的新实例。Initializes a new instance of ServiceCredentials from the specified ServiceCredentials.

ServiceCredentials()

初始化 ServiceCredentials 类的新实例。Initializes a new instance of the ServiceCredentials class.

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

适用于

ServiceCredentials(ServiceCredentials)

从指定 ServiceCredentials 初始化 ServiceCredentials 的新实例。Initializes a new instance of ServiceCredentials from the specified 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 实例。The ServiceCredentials instance used to initialize the new instance.

适用于