As its name states, the GifMessage is intended to be used for displaying gif elements. It provides a single constructor which is illustrated below.
- Author author
- Uri source
- [DateTime creationDate = default(DateTime)])
So, a GifMessage can be defined as follows.
Example 1: Defining a GifMessage
GifMessage gifMessage = new GifMessage(this.currentAuthor, new Uri("/Images/pbox.gif", UriKind.Relative));
Figure 1: Defining GifMessage