ServiceHealthModel.CommunicationTimeoutsModel 类
定义
包含表示 WCF 服务超时的模型的类。The class that contains the model representing a WCF service's timeouts.
public: ref class ServiceHealthModel::CommunicationTimeoutsModel
[System.Runtime.Serialization.DataContract]
public class ServiceHealthModel.CommunicationTimeoutsModel
[<System.Runtime.Serialization.DataContract>]
type ServiceHealthModel.CommunicationTimeoutsModel = class
Public Class ServiceHealthModel.CommunicationTimeoutsModel
- 继承
-
ServiceHealthModel.CommunicationTimeoutsModel
- 属性
构造函数
| ServiceHealthModel.CommunicationTimeoutsModel() |
初始化 类的实例。Initializes an instance of the class. |
| ServiceHealthModel.CommunicationTimeoutsModel(IDefaultCommunicationTimeouts) |
使用 IDefaultCommunicationTimeouts 参数指定的默认值初始化 类的实例。Initializes an instance of the class using default values specified by the IDefaultCommunicationTimeouts argument. |
属性
| CloseTimeout |
获取 Close() 方法(由通信对象调用)在超时之前的时间间隔。Gets the time interval after which the Close() method invoked by a communication object times out. |
| HasTimeouts |
获取指示通信对象是否超时的值。Gets a value that indicates whether the communication object has timeouts. |
| OpenTimeout |
获取 Open() 方法(由通信对象调用)在超时之前的时间间隔。Gets the time interval after which the Open() method invoked by a communication object times out. |
| ReceiveTimeout |
获取 Receive 方法(由通信对象调用)在超时之前的时间间隔 |
| SendTimeout |
获取 Send 方法(由通信对象调用)在超时之前的时间间隔 |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |