<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>ChannelStatusCommand Class</title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="ChannelStatusCommand class"/><metaname="System.Keywords"content="AsterNET.FastAGI.Command.ChannelStatusCommand class"/><metaname="System.Keywords"content="ChannelStatusCommand class, about ChannelStatusCommand class"/><metaname="Microsoft.Help.F1"content="AsterNET.FastAGI.Command.ChannelStatusCommand"/><metaname="Microsoft.Help.Id"content="T:AsterNET.FastAGI.Command.ChannelStatusCommand"/><metaname="Description"content="Returns the status of the specified channel. If no channel name is given the returns the status of the current channel."/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="AsterNET.FastAGI.Command"/><metaname="file"content="T_AsterNET_FastAGI_Command_ChannelStatusCommand"/><metaname="guid"content="T_AsterNET_FastAGI_Command_ChannelStatusCommand"/><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_FastAGI_Command.htm"title="AsterNET.FastAGI.Command"tocid="N_AsterNET_FastAGI_Command">AsterNET.FastAGI.Command</a></div><divclass="toclevel1 current"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="T_AsterNET_FastAGI_Command_ChannelStatusCommand.htm"title="ChannelStatusCommand Class"tocid="T_AsterNET_FastAGI_Command_ChannelStatusCommand">ChannelStatusCommand Class</a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="Overload_AsterNET_FastAGI_Command_ChannelStatusCommand__ctor.htm"title="ChannelStatusCommand Constructor "tocid="Overload_AsterNET_FastAGI_Command_ChannelStatusCommand__ctor">ChannelStatusCommand Constructor </a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="Methods_T_AsterNET_FastAGI_Command_ChannelStatusCommand.htm"title="ChannelStatusCommand Methods"tocid="Methods_T_AsterNET_FastAGI_Command_ChannelStatusCommand">ChannelStatusCommand Methods</a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"></a><adata-tochassubtree="true"href="Properties_T_AsterNET_FastAGI_Command_ChannelStatusCommand.htm"title="ChannelStatusCommand Properties"tocid="Proper
Returns the status of the specified channel.
If no channel name is given the returns the status of the current channel.<br/>
Return values:
<ul><li>0 Channel is down and available</li><li>1 Channel is down, but reserved</li><li>2 Channel is off hook</li><li>3 Digits (or equivalent) have been dialed</li><li>4 Line is ringing</li><li>5 Remote end is ringing</li><li>6 Line is up</li><li>7 Line is busy</li></ul></div><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID0RB')"onkeypress="SectionExpandCollapse_CheckKey('ID0RB', event)"tabindex="0"><imgid="ID0RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Inheritance Hierarchy</span></div><divid="ID0RBSection"class="collapsibleSection"><ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">System<spanid="LSTEB88E749_0"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTEB88E749_0?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Object</a><br/><ahref="T_AsterNET_FastAGI_Command_AGICommand.htm">AsterNET.FastAGI.Command<spanid="LSTEB88E749_1"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTEB88E749_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>AGICommand</a><br/><spanclass="selflink">AsterNET.FastAGI.Command<spanid="LSTEB88E749_2"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTEB88E749_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>ChannelStatusCommand</span><br/></div><p></p><strong>Namespace:</strong><ahref="N_AsterNET_FastAGI_Command.htm">AsterNET.FastAGI.Command</a><br/><strong>Assembly:</strong>AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)<divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID2RB')"onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)"tabindex="0"><imgid="ID2RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Syntax</span></div><divid="ID2RBSection"class="collapsibleSection"><divclass="codeSnippetContainer"><divclass="codeSnippetContainerTabs"><divid="ID1EDCA_tab1"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','cs','1','4');return false;">C#</a></div><divid="ID1EDCA_tab2"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','vb','2','4');return false;">VB</a></div><divid="ID1EDCA_tab3"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','cpp','3','4');return false;">C++</a></div><divid="ID1EDCA_tab4"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','fs','4','4');return false;">F#</a></div></div><divclass="codeSnippetContainerCodeContainer"><divclass="codeSnippetToolBar"><divclass="codeSnippetToolBarText"><aid="ID1EDCA_copyCode"href="#"onclick="javascript:CopyToClipboard('ID1EDCA');return false;"title="Copy">Copy</a></div></div><divid="ID1EDCA_code_Div1"class="codeSnippetContainerCode"style="display: block"><prexml:space="preserve"><spanclass="keyword">public</span><spanclass="keyword">class</span><spanclass="identifier">ChannelStatusCommand</span> : <spanclass="identifier">AGICommand</span></pre></div><divid="ID1EDCA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">Public</span><spanclass="keyword">Class</span><spanclass="identifier">ChannelStatusCommand</span>
<spanclass="keyword">end</span></pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID1EDCA");</script></div><p>The <spanclass="selflink">ChannelStatusCommand</span> type exposes the following members.</p><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID3RB')"onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)"tabindex="0"><imgid="ID3RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Constructors</span></div><divid="ID3RBSection"class="collapsibleSection"><tableid="memberList"class="members"><tr><thclass="iconColumn">
</th><th>Name</th><th>Description</th></tr><trdata="public;declared;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="M_AsterNET_FastAGI_Command_ChannelStatusCommand__ctor.htm">ChannelStatusCommand<spanid="LSTEB88E749_3"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTEB88E749_3?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a></td><td><divclass="summary">Initializes a new instance of the <spanclass="selflink">ChannelStatusCommand</span> class</div></td></tr><trdata="public;declared;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="M_AsterNET_FastAGI_Command_ChannelStatusCommand__ctor_1.htm">ChannelStatusCommand(String)</a></td><td><divclass="summary">
Creates a new ChannelStatusCommand that queries the given channel.
</th><th>Name</th><th>Description</th></tr><trdata="public;declared;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="M_AsterNET_FastAGI_Command_ChannelStatusCommand_BuildCommand.htm">BuildCommand</a></td><td> (Overrides <ahref="M_AsterNET_FastAGI_Command_AGICommand_BuildCommand.htm">AGICommand<spanid="LSTEB88E749_4"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTEB88E749_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>BuildCommand<spanid="LSTEB88E749_5"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTEB88E749_5?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/bsc2ak47"target="_blank">Equals</a></td><td><divclass="summary">Determines whether the specified <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a> is equal to the current <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="protected;inherited;notNetfw;"><td><imgsrc="../icons/protmethod.gif"alt="Protected method"title="Protected method"/></td><td><ahref="M_AsterNET_FastAGI_Command_AGICommand_EscapeAndQuote.htm">EscapeAndQuote</a></td><td> (Inherited from <ahref="T_AsterNET_FastAGI_Command_AGICommand.htm">AGICommand</a>.)</td></tr><trdata="protected;inherited;notNetfw;"><td><imgsrc="../icons/protmethod.gif"alt="Protected method"title="Protected method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/4k87zsw7"target="_blank">Finalize</a></td><td><divclass="summary">Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/zdee4b3y"target="_blank">GetHashCode</a></td><td><divclass="summary">Serves as a hash function for a particular type. </div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/dfwy45w9"target="_blank">GetType</a></td><td><divclass="summary">Gets the <ahref="http://msdn2.microsoft.com/en-us/library/42892f65"target="_blank">Type</a> of the current instance.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="protected;inherited;notNetfw;"><td><imgsrc="../icons/protmethod.gif"alt="Protected method"title="Protected method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/57ctke0a"target="_blank">MemberwiseClone</a></td><td><divclass="summary">Creates a shallow copy of the current <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="M_AsterNET_FastAGI_Command_AGICommand_ToString.htm">ToString</a></td><td> (Inherited from <ahref="T_AsterNET_FastAGI_Command_AGICommand.htm">AGICommand</a>.)</td></tr></table><ahref="#PageHeader">Top</a></div><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID5RB')"onkeypress="SectionExpandCollapse_CheckKey('ID5RB', event)"tabindex="0"><imgid="ID5RBToggle"class="collapse