OnMaxFileBitRate Event

Indicates the file bit-rate limit was reached.

Syntax

NSUnicastMgr_OnMaxFileBitRate( datetime, rate )

Parameters

datetime

A Date value indicating the time the event occurred, expressed in Greenwich Mean Time (GMT).

rate

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

Remarks

This event is called when a client uses bandwidth in excess of the amount specified by the MaxFileBitRate property. To receive notification of this event, the AlertEvents property must first be set to TRUE.

Example

Sub NSUnicastMgr_OnMaxFileBitRate( datetime rate )
  ' message box opens if bit rate limit is exceeded
  MsgBox( "a file playing at " & rate & " bps exceeded the limit" )
End Sub

See Also

MaxFileBitRate, MaxBandwidth, OnMaxBandwidth

© 1996-1998 Microsoft Corporation. All rights reserved.