Activity.Code Property 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a code for endOfConversation activities that indicates why the conversation ended. Possible values are defined in EndOfConversationCodes.
public string Code { get; set; }member this.Code : string with get, setPublic Property Code As StringProperty Value
A code for endOfConversation activities that indicates why the conversation ended.