Class BaseMessage
Inheritance
System.Object
BaseMessage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Microsoft.Skype.Bots.Calling.ObjectModel.dll
Syntax
public abstract class BaseMessage
Constructors
BaseMessage(String)
Declaration
protected BaseMessage(string messageType)
Parameters
Type |
Name |
Description |
System.String |
messageType |
|
Fields
Declaration
public const string FromHeaderKey = "from"
Field Value
Type |
Description |
System.String |
|
JsonContentType
Declaration
public static readonly ContentType JsonContentType
Field Value
Type |
Description |
System.Net.Mime.ContentType |
|
Declaration
public const string MessageTypeHeaderKey = "type"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string ToHeaderKey = "to"
Field Value
Type |
Description |
System.String |
|
Properties
From
Declaration
public string From { get; set; }
Property Value
Type |
Description |
System.String |
|
MessageType
Declaration
public string MessageType { get; set; }
Property Value
Type |
Description |
System.String |
|
To
Declaration
public string To { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
GetMessageType(String)
Declaration
public static string GetMessageType(string json)
Parameters
Type |
Name |
Description |
System.String |
json |
|
Returns
Type |
Description |
System.String |
|
Validate()
Declaration
ValidateInternal()
Declaration
protected abstract void ValidateInternal()
ValidateMri(String, String)
Declaration
protected static void ValidateMri(string value, string name)
Parameters
Type |
Name |
Description |
System.String |
value |
|
System.String |
name |
|
VerifyPropertyExists(String, String)
Declaration
protected static void VerifyPropertyExists(string value, string name)
Parameters
Type |
Name |
Description |
System.String |
value |
|
System.String |
name |
|