ServiceHealthModel.ServicePropertiesModel.State Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current state of the WCF service.
public:
property System::ServiceModel::CommunicationState State { System::ServiceModel::CommunicationState get(); };
C#
[System.Runtime.Serialization.DataMember]
public System.ServiceModel.CommunicationState State { get; }
[<System.Runtime.Serialization.DataMember>]
member this.State : System.ServiceModel.CommunicationState
Public ReadOnly Property State As CommunicationState
The state of the service.
- Attributes
產品 | 版本 |
---|---|
.NET Framework | 4.8, 4.8.1 |