Show / Hide Table of Contents

Class BaseMessage

Inheritance
System.Object
BaseMessage
AgentContactNotification
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()
Namespace: Microsoft.Skype.Bots.Calling.ObjectModel.Contracts
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

FromHeaderKey

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

MessageTypeHeaderKey

Declaration
public const string MessageTypeHeaderKey = "type"
Field Value
Type Description
System.String

ToHeaderKey

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
public void Validate()

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
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX