Partager via


IMediaStreaming.SetWinSatCpuScore Method (Double)

 

Sets the WinSAT processor subscore.

Namespace:   Microsoft.WindowsServerSolutions.MediaStreaming
Assembly:  MediaStreamingObjectModel (in MediaStreamingObjectModel.dll)

Syntax

[OperationContractAttribute]
[FaultContractAttribute(typeof(ArgumentOutOfRangeException))]
[FaultContractAttribute(typeof(SecurityAccessDeniedException))]
void SetWinSatCpuScore(
    double winSatCpuScore
)
[OperationContractAttribute]
[FaultContractAttribute((ArgumentOutOfRangeException^::typeid))]
[FaultContractAttribute((SecurityAccessDeniedException^::typeid))]
void SetWinSatCpuScore(
    double winSatCpuScore
)
<OperationContractAttribute>
<FaultContractAttribute(GetType(ArgumentOutOfRangeException))>
<FaultContractAttribute(GetType(SecurityAccessDeniedException))>
Sub SetWinSatCpuScore (
    winSatCpuScore As Double
)

Parameters

Exceptions

Exception Condition
FaultException<TDetail>

If winSatCpuScore does not fall within the range of valid WinSAT CPU scores; the argument must be greater than or equal to 1.0 and less than or equal to 7.9.

FaultException<TDetail>

If the caller is not a member of the Administrators user group.

FaultException<TDetail>

If a service or provider that the Media Streaming Provider depends upon cannot be contacted to help service this request.

See Also

IMediaStreaming Interface
Microsoft.WindowsServerSolutions.MediaStreaming Namespace

Return to top