共用方式為


ServiceHostInformation.Runtime 屬性

定義

取得或設定服務主機所提供的運行時間。

public:
 property Nullable<Microsoft::ServiceHub::Framework::ServiceHostRuntime> Runtime { Nullable<Microsoft::ServiceHub::Framework::ServiceHostRuntime> get(); void set(Nullable<Microsoft::ServiceHub::Framework::ServiceHostRuntime> value); };
public Microsoft.ServiceHub.Framework.ServiceHostRuntime? Runtime { get; set; }
public Microsoft.ServiceHub.Framework.ServiceHostRuntime? Runtime { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
member this.Runtime : Nullable<Microsoft.ServiceHub.Framework.ServiceHostRuntime> with get, set
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.Runtime : Nullable<Microsoft.ServiceHub.Framework.ServiceHostRuntime> with get, set
Public Property Runtime As Nullable(Of ServiceHostRuntime)

屬性值

屬性

適用於