RefreshResponseInfo 构造函数
定义
初始化 RefreshResponseInfo 类的新实例。Initializes a new instance of the RefreshResponseInfo class.
重载
| RefreshResponseInfo() |
初始化 RefreshResponseInfo 类的新默认实例。Initializes a new default instance of the RefreshResponseInfo class. |
| RefreshResponseInfo(TimeSpan, RefreshResult) |
利用所提供的注册生存期和刷新结果初始化 RefreshResponseInfo 类的新实例。Initializes a new instance of the RefreshResponseInfo class with the provided registration lifetime and refresh results. |
RefreshResponseInfo()
初始化 RefreshResponseInfo 类的新默认实例。Initializes a new default instance of the RefreshResponseInfo class.
public:
RefreshResponseInfo();
public RefreshResponseInfo ();
Public Sub New ()
适用于
RefreshResponseInfo(TimeSpan, RefreshResult)
利用所提供的注册生存期和刷新结果初始化 RefreshResponseInfo 类的新实例。Initializes a new instance of the RefreshResponseInfo class with the provided registration lifetime and refresh results.
public:
RefreshResponseInfo(TimeSpan registrationLifetime, System::ServiceModel::PeerResolvers::RefreshResult result);
public RefreshResponseInfo (TimeSpan registrationLifetime, System.ServiceModel.PeerResolvers.RefreshResult result);
new System.ServiceModel.PeerResolvers.RefreshResponseInfo : TimeSpan * System.ServiceModel.PeerResolvers.RefreshResult -> System.ServiceModel.PeerResolvers.RefreshResponseInfo
Public Sub New (registrationLifetime As TimeSpan, result As RefreshResult)
参数
- registrationLifetime
- TimeSpan
指定对等解析程序的注册的新生存期的 TimeSpan。TimeSpan that specifies the new lifetime of the peer's registration.
- result
- RefreshResult
指定刷新结果的 RefreshResult。RefreshResult that specifies the result of the refresh.