public CommonEnabledState Endget_agent_trap_state(System.IAsyncResult asyncResult) { object [] results = this.EndInvoke(asyncResult); return ((CommonEnabledState)(results[0])); }