<html><head><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><linkrel="shortcut icon"href="../icons/favicon.ico"/><linkrel="stylesheet"type="text/css"href="../styles/branding.css"/><linkrel="stylesheet"type="text/css"href="../styles/branding-en-US.css"/><scripttype="text/javascript"src="../scripts/branding.js"></script><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>AbstractChannelEvent.State Property </title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="State property"/><metaname="System.Keywords"content="AbstractChannelEvent.State property"/><metaname="Microsoft.Help.F1"content="AsterNET.Manager.Event.AbstractChannelEvent.State"/><metaname="Microsoft.Help.F1"content="AsterNET.Manager.Event.AbstractChannelEvent.get_State"/><metaname="Microsoft.Help.F1"content="AsterNET.Manager.Event.AbstractChannelEvent.set_State"/><metaname="Microsoft.Help.Id"content="P:AsterNET.Manager.Event.AbstractChannelEvent.State"/><metaname="Description"content="Get/Set the (new) state of the channel. The following states are used:DownOffHookDialingRingRingingUpBusy"/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="AsterNET.Manager.Event"/><metaname="file"content="P_AsterNET_Manager_Event_AbstractChannelEvent_State"/><metaname="guid"content="P_AsterNET_Manager_Event_AbstractChannelEvent_State"/><linkrel="stylesheet"type="text/css"href="../styles/branding-Website.css"/><scripttype="text/javascript"src="../scripts/jquery-1.11.0.min.js"></script><scripttype="text/javascript"src="../scripts/branding-Website.js"></script></head><bodyonload="OnLoad('cs')"><inputtype="hidden"id="userDataCache"class="userDataStyle"/><divclass="pageHeader"id="PageHeader">AsterNet Class Library (Sandcastle documentation)<formid="SearchForm"method="get"action="#"onsubmit="javascript:TransferToSearchPage(); return false;"><inputid="SearchTextBox"type="text"maxlength="200"/><buttonid="SearchButton"type="submit"></button></form></div><divclass="pageBody"><divclass="leftNav"id="leftNav"><divid="tocNav"><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="79b6241e-05a3-441c-b6a1-51f2b5b7f265.htm"title="AsterNet Class Library (Sandcastle documentation)"tocid="roottoc">AsterNet Class Library (Sandcastle documentation)</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="N_AsterNET_Manager_Event.htm"title="AsterNET.Manager.Event"tocid="N_AsterNET_Manager_Event">AsterNET.Manager.Event</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="T_AsterNET_Manager_Event_AbstractChannelEvent.htm"title="AbstractChannelEvent Class"tocid="T_AsterNET_Manager_Event_AbstractChannelEvent">AbstractChannelEvent Class</a></div><divclass="toclevel1"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="Properties_T_AsterNET_Manager_Event_AbstractChannelEvent.htm"title="AbstractChannelEvent Properties"tocid="Properties_T_AsterNET_Manager_Event_AbstractChannelEvent">AbstractChannelEvent Properties</a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="P_AsterNET_Manager_Event_AbstractChannelEvent_AccountCode.htm"title="AccountCode Property "tocid="P_AsterNET_Manager_Event_AbstractChannelEvent_AccountCode">AccountCode Property </a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="P_AsterNET_Manager_Event_AbstractChannelEvent_CallerId.htm"title="CallerId Property "tocid="P_AsterNET_Manager_Event_AbstractChannelEvent_CallerId">CallerId Property </a></div><divclass="toclevel2"data-toclevel="2"><adata-toch
Get/Set the (new) state of the channel.<br/>
The following states are used:<br/><ul><li>Down</li><li>OffHook</li><li>Dialing</li><li>Ring</li><li>Ringing</li><li>Up</li><li>Busy</li></ul></div><p></p><strong>Namespace:</strong><ahref="N_AsterNET_Manager_Event.htm">AsterNET.Manager.Event</a><br/><strong>Assembly:</strong>AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)<divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID1RB')"onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)"tabindex="0"><imgid="ID1RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Syntax</span></div><divid="ID1RBSection"class="collapsibleSection"><divclass="codeSnippetContainer"><divclass="codeSnippetContainerTabs"><divid="ID0EDCA_tab1"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><divid="ID0EDCA_tab2"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><divid="ID0EDCA_tab3"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><divid="ID0EDCA_tab4"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><divclass="codeSnippetContainerCodeContainer"><divclass="codeSnippetToolBar"><divclass="codeSnippetToolBarText"><aid="ID0EDCA_copyCode"href="#"onclick="javascript:CopyToClipboard('ID0EDCA');return false;"title="Copy">Copy</a></div></div><divid="ID0EDCA_code_Div1"class="codeSnippetContainerCode"style="display: block"><prexml:space="preserve"><spanclass="keyword">public</span><spanclass="identifier">string</span><spanclass="identifier">State</span> { <spanclass="keyword">get</span>; <spanclass="keyword">set</span>; }</pre></div><divid="ID0EDCA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">Public</span><spanclass="keyword">Property</span><spanclass="identifier">State</span><spanclass="keyword">As</span><spanclass="identifier">String</span>