BingTrafficIncidentResult Members
Stores information about an incident.Constructors
Name | Description |
---|---|
BingTrafficIncidentResult(GeoPoint, String, String, DateTime, DateTime, Int64, String, DateTime, Boolean, BingTrafficIncidentSeverity, GeoPoint, String[], BingTrafficIncidentType, Boolean) | Initializes a new instance of the BingTrafficIncidentResult class with specified settings. |
Properties
Name | Description |
---|---|
CongestionInfo | Returns the congestion description if the Type of the traffic incident is Congestion. |
Description | Returns the incident description. |
EndTime | Returns the time when the traffic incident will end. |
IncidentId | Returns a unique ID for the incident. |
LaneInfo | Returns a description specific to lanes (for example, lane closures). |
LastModified | Returns the time of the last change to the incident-related data. |
LocationCodes | Returns a collection of traffic location codes if IncludeLocationCodes is enabled. |
Point | Returns geographical coordinates of the location where the incident occurs. |
RoadClosed | Returns the value that specifies whether the road is closed. |
Severity | Returns the incident severity level. |
StartTime | Returns the time when the incident occurred. |
ToPoint | Returns the coordinates of the traffic incident’s endpoint (for example, the end of a construction zone). |
Type | Returns the incident type. |
Verified | Returns the value that specifies whether the incident is visually verified or officially confirmed (for example, by the local police department). |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns the short class name enclosed in parentheses. |
See Also