Windows Media Services SDK banner art
PreviousNext

OnMaxFileBitRate Event

Indicates that the file bit-rate limit was reached.

Syntax

NSUnicastMgr_OnMaxFileBitRate( DateTime, Rate )

Parameters

DateTime

A Date value indicating when the event occurred, expressed in Greenwich mean time.

Rate

A Long value specifying the limit on the current file bit rate.

Remarks

This event is called when a client uses more bandwidth than the amount specified by the MaxFileBitRate property. This event is never fired unless the AlertEvents property is set to True.

Example

Sub NSUnicastMgr_OnMaxFileBitRate(DateTime Rate)
  ' Message box opens if bit rate limit is exceeded
  MsgBox ("File playing at " & Rate & " bps exceeded the limit.")
End Sub

See Also

MaxFileBitRate, MaxBandWidth, OnMaxBandWidth

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.