Class SIPUserField
Encapsulates the format for the SIP Contact, From, PAI and To headers.
Inheritance
System.Object
SIPUserField
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: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
[DataContract]
public class SIPUserField
Remarks
If no "<" and ">" are present, all parameters after the URI are header parameters, not URI parameters.
Constructors
| Improve this Doc View SourceSIPUserField()
Declaration
public SIPUserField()
SIPUserField(String, SIPURI, String)
Declaration
public SIPUserField(string name, SIPURI uri, string paramsAndHeaders)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
SIPURI | uri | |
System.String | paramsAndHeaders |
Fields
| Improve this Doc View SourceName
Declaration
[DataMember]
public string Name
Field Value
Type | Description |
---|---|
System.String |
Parameters
Declaration
[DataMember]
public SIPParameters Parameters
Field Value
Type | Description |
---|---|
SIPParameters |
URI
Declaration
[DataMember]
public SIPURI URI
Field Value
Type | Description |
---|---|
SIPURI |
Methods
| Improve this Doc View SourceCopyOf()
Declaration
public SIPUserField CopyOf()
Returns
Type | Description |
---|---|
SIPUserField |
ParseSIPUserField(String)
Declaration
public static SIPUserField ParseSIPUserField(string userFieldStr)
Parameters
Type | Name | Description |
---|---|---|
System.String | userFieldStr |
Returns
Type | Description |
---|---|
SIPUserField |
ToParameterlessString()
Declaration
public string ToParameterlessString()
Returns
Type | Description |
---|---|
System.String |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()