Class RoleConflictError
487 Role Conflict. The Binding request contained either the ICE-CONTROLLING or ICE-CONTROLLED attribute, indicating a role that conflicted with the server. The server ran a tie-breaker based on the tie-breaker value in the request and determined that the client needs to switch roles.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Stun.Ice
Assembly: FM.LiveSwitch.dll
Syntax
public class RoleConflictError : Error
Constructors
RoleConflictError(ControlledAttribute, ControllingAttribute)
Initializes a new instance of the RoleConflictError class.
Declaration
public RoleConflictError(ControlledAttribute iceControlled, ControllingAttribute iceControlling)
Parameters
Type | Name | Description |
---|---|---|
ControlledAttribute | iceControlled | The ICE-controlled attribute. |
ControllingAttribute | iceControlling | The ICE-controlling attribute. |
RoleConflictError(String, ControlledAttribute, ControllingAttribute)
Initializes a new instance of the RoleConflictError class.
Declaration
public RoleConflictError(string message, ControlledAttribute iceControlled, ControllingAttribute iceControlling)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
ControlledAttribute | iceControlled | The ICE-controlled attribute. |
ControllingAttribute | iceControlling | The ICE-controlling attribute. |
Properties
IceControlled
Gets or sets the ICE-controlled attribute.
Declaration
public ControlledAttribute IceControlled { get; }
Property Value
Type | Description |
---|---|
ControlledAttribute |
IceControlling
Gets or sets the ICE-controlling attribute.
Declaration
public ControllingAttribute IceControlling { get; }
Property Value
Type | Description |
---|---|
ControllingAttribute |
Methods
GetDescription()
Gets the description for this Error.
Declaration
public override string GetDescription()
Returns
Type | Description |
---|---|
System.String |